# 01 #
[Global]
FallbackTheme=_fallback

[Common]
FirstAttractScreen=""
AutoSetStyle=false
InitialScreen="ScreenCompany"

CourseDifficultiesToShow="beginner,easy,medium,hard,challenge"

# 02 #
[LightsManager]

[ScoreKeeperNormal]
PercentScoreWeightCheckpointHit=0
PercentScoreWeightCheckpointMiss=0

PercentScoreWeightHeld=IsGame("Pump") and 0 or 5
PercentScoreWeightHitMine=-6
PercentScoreWeightLetGo=0
PercentScoreWeightMiss=-12
PercentScoreWeightW1=5
PercentScoreWeightW2=4
PercentScoreWeightW3=2
PercentScoreWeightW4=0
PercentScoreWeightW5=-6

GradeWeightCheckpointHit=0
GradeWeightCheckpointMiss=0

GradeWeightHeld=IsGame("Pump") and 0 or 5
GradeWeightHitMine=-6
GradeWeightLetGo=0
GradeWeightMiss=-12
GradeWeightW1=5
GradeWeightW2=4
GradeWeightW3=2
GradeWeightW4=0
GradeWeightW5=-6

[PlayerStageStats]
NumGradeTiersUsed=17
GradeTier01IsAllW2s=false
GradeTier02IsAllW2s=false
-- Quad Stars
GradePercentTier01=1.00
-- Triple Stars
GradePercentTier02=0.99
-- Double Stars
GradePercentTier03=0.98
-- Single Star
GradePercentTier04=0.97
-- S+
GradePercentTier05=0.96
-- S
GradePercentTier06=0.95
-- S-
GradePercentTier07=0.94
-- A+
GradePercentTier08=0.92
-- A
GradePercentTier09=0.90
-- A-
GradePercentTier10=0.87
-- B+
GradePercentTier11=0.85
-- B
GradePercentTier12=0.80
-- B-
GradePercentTier13=0.75
-- C+
GradePercentTier14=0.70
-- C
GradePercentTier15=0.65
-- C-
GradePercentTier16=0.60
-- D
GradePercentTier17=-1000

[ProfileManager]

[SongManager]
NumSongGroupColors=1
#
SongGroupColor1=BoostColor(Color("White"),1.25)

CourseGroupColor1=color("1,1,1,1")

[UnlockManager]

# 03 #
[ArrowEffects]

[Background]

[Banner]

[BitmapText]
NumRainbowColors=1
RainbowColor1=Color("Black");

[BPMDisplay]
SetNoBpmCommand=stoptweening;stopeffect;maxwidth,128;linear,0.2;diffuse,Color("White");diffusebottomedge,BoostColor(Color("White"),0.875);
SetNormalCommand=stoptweening;stopeffect;maxwidth,128;linear,0.2;diffuse,Color("White");diffusebottomedge,BoostColor(Color("White"),0.875);
SetChangeCommand=stoptweening;stopeffect;maxwidth,128;linear,0.2;diffuse,Color("White");diffusebottomedge,BoostColor(Color("White"),0.875);
SetRandomCommand=stoptweening;maxwidth,128;linear,0.2;diffuse,color("Green");textglowmode,'TextGlowMode_Inner';glowshift;effectcolor1,color("1,1,1,0.05");effectcolor2,color("1,1,1,0.325");
SetExtraCommand=stoptweening;maxwidth,128;linear,0.2;diffuse,Color("Red");diffusebottomedge,BoostColor(Color("Red"),0.5);diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.475,0.475,0.475,1");
RandomCycleSpeed=0.2		--  smaller numbers mean the bpm cycles faster

[CodeDetector]
# For Future Reference:
# @ = Holding
# - = In Conjuction With / Then
# ~ = Released
# + = At The Same Time

[CodeDetectorOnline]

[CombinedLifeMeterTug]
# We don't use it.
MeterWidth=512-8
MeterHeight=40

[Combo]
ShowComboAt=2

LabelMinZoom=1
LabelMaxZoom=1

NumberMinZoom=0.8
NumberMaxZoom=0.8
NumberMaxZoomAt=1

JudgmentPulseCommand=finishtweening;y,0;shadowlength,0;diffusealpha,1;zoom,1.3;linear,0.05;zoom,1;sleep,0.5;linear,0.1;zoomy,0.5;zoomx,2;diffusealpha,0

PulseCommand=%function(self,param) self:finishtweening(); self:diffusealpha(1); self:zoom(0.00*param.Zoom); self:linear(0.00); self:zoom(param.Zoom); self:sleep(1); self:linear(0.0); self:diffusealpha(0); end;
PulseLabelCommand=%function(self,param) self:finishtweening(); self:diffusealpha(1); self:zoom(0.0*param.LabelZoom); self:linear(0.00); self:zoom(param.LabelZoom); self:sleep(1); self:linear(0.0); self:diffusealpha(0); end;
NumberOnCommand=x,43;y,43;shadowlength,1;horizalign,right;vertalign,bottom;

ComboLabelOnCommand=x,;y,-40;shadowlength,1;align,0,1
MissLabelOnCommand=x,;y,-40;shadowlength,1;align,0,1

[HoldJudgment]
HoldJudgmentLetGoCommand=finishtweening;visible,true;shadowlength,0;diffusealpha,1;zoom,1;linear,0.8;zoom,0.75;sleep,0.5;linear,0.1;diffusealpha,0
HoldJudgmentHeldCommand=finishtweening;visible,true;shadowlength,0;diffusealpha,1;zoom,1;linear,0.3;zoom,0.75;sleep,0.5;linear,0.1;diffusealpha,0

[HelpDisplay]
TipShowTime=7

[Judgment]
JudgmentW1Command=finishtweening;shadowlength,0;y,0;diffusealpha,1;zoom,2;linear,0.05;zoom,1;sleep,0.8;linear,0.1;zoomy,2;zoomx,2;diffusealpha,0;glowblink;effectperiod,0.05;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.25")
JudgmentW2Command=finishtweening;y,0;shadowlength,0;diffusealpha,1;zoom,2;linear,0.05;zoom,1;sleep,0.5;linear,0.1;zoomy,2;zoomx,2;diffusealpha,0
JudgmentW3Command=finishtweening;y,0;shadowlength,0;diffusealpha,1;zoom,2;linear,0.05;zoom,1;sleep,0.5;linear,0.1;zoomy,2;zoomx,2;diffusealpha,0;
JudgmentW4Command=finishtweening;y,0;shadowlength,0;diffusealpha,1;zoom,2;linear,0.05;zoom,1;sleep,0.5;linear,0.1;zoomy,2;zoomx,2;diffusealpha,0;
JudgmentW5Command=finishtweening;y,0;shadowlength,0;diffusealpha,1;zoom,2;vibrate;effectmagnitude,1,2,2;sleep,0.5;linear,0.1;zoomy,2;zoomx,2;diffusealpha,0
JudgmentMissCommand=finishtweening;y,0;shadowlength,0;diffusealpha,1;zoom,2;y,-20;linear,0.8;y,20;sleep,0.5;linear,0.1;zoomy,2;zoomx,2;diffusealpha,0
# Late/Early 
OffsetOnCommand=
OffsetLateCommand=
OffsetEarlyCommand=

[Protiming]
ProtimingOnCommand=shadowlength,1;horizalign,right;x,30;strokecolor,Color("Outline");skewx,-0.125;textglowmode,"TextGlowMode_Inner";
AverageOnCommand=shadowlength,1;horizalign,left;x,32;y,8;zoom,0.75;diffuse,ColorLightTone( Color("Green") );strokecolor,Color("Outline");skewx,-0.125;textglowmode,"TextGlowMode_Inner";
TextOnCommand=shadowlength,1;horizalign,left;x,32;y,-6;zoom,0.5;strokecolor,Color("Outline");skewx,-0.125;textglowmode,"TextGlowMode_Inner";
#
ProtimingW1Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W1"];sleep,2;linear,0.5;diffuse,Color("Invisible");
ProtimingW2Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W2"];sleep,2;linear,0.5;diffuse,Color("Invisible");
ProtimingW3Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W3"];sleep,2;linear,0.5;diffuse,Color("Invisible");
ProtimingW4Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W4"];sleep,2;linear,0.5;diffuse,Color("Invisible");
ProtimingW5Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W5"];sleep,2;linear,0.5;diffuse,Color("Invisible");
ProtimingMissCommand=finishtweening;diffusealpha,1;zoom,1.15;glow,GameColor.Judgment["JudgmentLine_Miss"];linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_Miss"];sleep,2;linear,0.5;diffuse,Color("Invisible");
#
AveragePulseCommand=finishtweening;diffusealpha,1;zoom,0.75*1.025;decelerate,0.05;zoom,0.75;sleep,2;linear,0.5;diffusealpha,0;
TextPulseCommand=finishtweening;diffusealpha,1;zoom,0.5*1.025;decelerate,0.05;zoom,0.5;sleep,2;linear,0.5;diffusealpha,0;

[Course]

[CustomDifficulty]

[DifficultyList]
ItemsSpacingY=24
NumShownItems=8

[FadingBanner]
BannerFadeFromCachedCommand=diffusealpha,1;stoptweening;accelerate,0.05;glow,Color.Alpha( Color("White"), 0.45 );decelerate,0.075;diffusealpha,0;glow,Color("Invisible");
BannerOnCommand=
BannerFadeFromCachedCommand=diffusealpha,1;stoptweening;linear,0.15;glow,Color.Alpha(Color("White"),0.25);decelerate,0.15;glow,Color.Invisible;diffusealpha,0
BannerFadeOffCommand=diffusealpha,1;stoptweening;linear,0.15;diffusealpha,0
BannerResetFadeCommand=diffusealpha,1

BannerRouletteCommand=
BannerRandomCommand=
[Gameplay]


[GameState]

[GrooveRadar]
Label1OffsetX=0
Label1OffsetY=-98
#--#
Label2OffsetX=-120
Label2OffsetY=-20
#--#
Label3OffsetX=-100
Label3OffsetY=66
#--#
Label4OffsetX=100
Label4OffsetY=66
#--#
Label5OffsetX=110
Label5OffsetY=-20

LabelPreDelayOnCommand=addx,-100;zoom,1.0;diffuse,color("1,1,1,0");sleep,0.6
LabelOnDelay=0.2
LabelPostDelayOnCommand=linear,0.1;glow,color("1,1,1,1");accelerate,0.3;addx,100;zoom,1;diffuse,color("1,1,1,1");glow,color("1,1,1,0")

; RadarValueMapP1OnCommand=diffusecolor,PlayerColor(PLAYER_1)
; RadarValueMapP2OnCommand=diffusecolor,PlayerColor(PLAYER_2)



Label1X=0
Label1Y=-98
#--#
Label2X=-120
Label2Y=-20
#--#
Label3X=-100
Label3Y=66
#--#
Label4X=100
Label4Y=66
#--#
Label5X=110
Label5Y=-20

# Polar graph that shows difficulty stuff in depth
# how thick the line is
EdgeWidth=0
# How visible the middle is
CenterAlpha=0.0
# what to do with each player's part of the graph
RadarValueMapP1OnCommand=diffuse,PlayerColor(PLAYER_1)
RadarValueMapP2OnCommand=diffuse,PlayerColor(PLAYER_2)




[GroupList]

[HighScore]

[Inventory]

[LifeMeterBar]
OverOnCommand=diffuse,Color("White");diffuserightedge,BoostColor(Color("White"),1.5)

[LifeMeterBattery]
BatteryBlinkTime=0.5
#
BatteryP1X=0
BatteryP1Y=0
BatteryP2X=0
BatteryP2Y=0
#
NumLivesP2OnCommand=zoomx,-1
NumLivesP2LoseLifeCommand=zoomx,-1.5;zoomy,1.5;linear,0.15;zoomx,-1;zoomy,1

[LifeMeterBattery Percent]
# still asking for this even though it's in fallback... -aj
Format=
#
PercentP2OnCommand=zoom,0.7;zoomx,-0.7;shadowlength,0;diffuse,PlayerColor(PLAYER_2)
DancePointsP2OnCommand=zoom,0.7;zoomx,-0.7;shadowlength,0;diffuse,PlayerColor(PLAYER_2)

[LifeMeterTime]

[LyricDisplay]

[NotesWriterSM]

[OptionRowService]

[OptionRowExit]
FrameOnCommand=visible,true;diffuse,Color("Black");diffusealpha,0.8;scaletoclipped,820,40;addy,+0.25
FrameX=SCREEN_CENTER_X-2


ItemsMinBaseZoom=1
ItemOnCommand=shadowlength,1;zoom,0.8;diffuse,Color("Red");diffusebottomedge,BoostColor(Color("Red"),0.75);shadowcolor,BoostColor(Color("Red"),0.35)
ItemGainFocusCommand=stoptweening;linear,0.2;zoom,1;diffuse,Color("Red");diffusebottomedge,BoostColor(Color("Red"),0.75)
ItemLoseFocusCommand=stoptweening;decelerate,0.5;zoom,0.8;


ColorSelected=Color("Red")
ColorNotSelected=Color("Red")
ColorDisabled=Color("Red")

ItemsLongRowP1X=SCREEN_CENTER_X-1024
ItemsLongRowP2X=SCREEN_CENTER_X+1024
ItemsLongRowSharedX=SCREEN_CENTER_X

[OptionsCursor]

[OptionsCursorP1]
LeftOnCommand=horizalign,right;diffuse,PlayerColor(PLAYER_1)
MiddleOnCommand=;diffuse,PlayerColor(PLAYER_1)
RightOnCommand=horizalign,left;diffuse,PlayerColor(PLAYER_1)

[OptionsCursorP2]
LeftOnCommand=horizalign,right;diffuse,PlayerColor(PLAYER_2)
MiddleOnCommand=;diffuse,PlayerColor(PLAYER_2)
RightOnCommand=horizalign,left;diffuse,PlayerColor(PLAYER_2)

[OptionsUnderline]

[OptionsUnderlineP1]
LeftOnCommand=horizalign,right;diffuse,PlayerColor(PLAYER_1)
MiddleOnCommand=;diffuse,PlayerColor(PLAYER_1)
RightOnCommand=horizalign,left;diffuse,PlayerColor(PLAYER_1)

[OptionsUnderlineP2]
LeftOnCommand=horizalign,right;diffuse,PlayerColor(PLAYER_2)
MiddleOnCommand=;diffuse,PlayerColor(PLAYER_2)
RightOnCommand=horizalign,left;diffuse,PlayerColor(PLAYER_2)

[MenuTimer]
Text1OnCommand=stopeffect;stoptweening;halign,1;shadowlength,0;strokecolor,Color("Outline")
Text1FormatFunction=function(fSeconds) fSeconds=math.min( 99, math.ceil(fSeconds) ); setenv("Timer",fSeconds-1); local digit = math.floor(fSeconds/10); return ""..digit end

Text2OnCommand=stopeffect;stoptweening;halign,0;shadowlength,0;strokecolor,Color("Outline")
Text2FormatFunction=function(fSeconds) fSeconds=math.min( 99, math.ceil(fSeconds) ); local digit = math.mod(fSeconds,10); return ""..digit end

Warning10Command=diffuseshift;effectperiod,1;effectcolor2,Color("Red");effectcolor1,color("0.5,0,0,1");

[MenuTimerNoSound]

[MusicWheel]
FadeSeconds=1
SwitchSeconds=0.10
RandomPicksLockedSongs=true
RouletteSwitchSeconds=0.05
RouletteSlowDownSwitches=5
LockedInitialVelocity=7
ScrollBarHeight=300
ScrollBarOnCommand=visible,false

ItemTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
	self:x(offsetFromCenter * 170); \
	self:zoom(0.8 - scale(math.abs(offsetFromCenter),0,numItems/0,0,0)); \
end;

NumWheelItems=8
MusicWheelSortOnCommand=fov,90;
MusicWheelSortOffCommand=fov,90;
MusicWheelItemSortOnCommand=zoomy,0;bounceend,0.15;zoomy,1
MusicWheelItemSortOffCommand=linear,0.175;zoomy,0
HighlightOnCommand=diffuseshift;effecttiming,(1/8),0,(7/8),0;effectcolor2,Color("White");effectcolor1,color("1,1,1,0.5");effectclock,'beatnooffset';zoom,0.6
HighlightOffCommand=
HighlightSortOnCommand=stoptweening;decelerate,0.125;glow,Color("Stealth");zoom,1
HighlightSortOffCommand=stoptweening;accelerate,0.125;glow,Color("Orange");zoom,1.05
WheelItemOnDelayOffset=0.04
WheelItemOffDelayOffset=0.04
WheelItemLockedColor=color("0,0,0,0.5")
#
NumSectionColors=1
SectionColor1=Color("Orange")
#
SongRealExtraColor=Color("Red")
SortMenuColor=Color("Blue")
#
ShowRoulette=false
ShowRandom=false
ShowPortal=false
MostPlayedSongsToShow=30
#~ ModeMenuChoiceNames="Preferred,Group,Title,Bpm,Popularity,TopGrades,Artist,EasyMeter,MediumMeter,HardMeter,ChallengeMeter,Genre,Length"
#~ ChoicePreferred="sort,Preferred"
#~ ChoiceGroup="sort,Group"
#~ ChoiceTitle="sort,Title"
#~ ChoiceBpm="sort,BPM"
#~ ChoicePopularity="sort,Popularity"
#~ ChoiceTopGrades="sort,TopGrades"
#~ ChoiceArtist="sort,Artist"
#~ ChoiceGenre="sort,Genre"
#~ ChoiceEasyMeter="sort,EasyMeter"
#~ ChoiceMediumMeter="sort,MediumMeter"
#~ ChoiceHardMeter="sort,HardMeter"
#~ ChoiceChallengeMeter="sort,ChallengeMeter"
#~ ChoiceLength="sort,Length"
#~ ChoiceCourses="sort,AllCourses;"
SortOrders={ "SortOrder_Preferred", "SortOrder_Group", "SortOrder_Title", "SortOrder_BPM", "SortOrder_Artist", "SortOrder_Genre", "SortOrder_EasyMeter", "SortOrder_MediumMeter", "SortOrder_HardMeter", "SortOrder_ChallengeMeter" }

UseEasyMarkerFlag=true
[CourseWheel]
Fallback="MusicWheel"

[OniWheel]
Fallback="CourseWheel"
ModeMenuChoiceNames="Oni,Survival"

[OnlineMusicWheel]
FadeSeconds=1
SwitchSeconds=0.10
RandomPicksLockedSongs=true
RouletteSwitchSeconds=0.05
RouletteSlowDownSwitches=5
LockedInitialVelocity=7
ScrollBarHeight=300
ScrollBarOnCommand=visible,false

ItemTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
	self:x(offsetFromCenter * 170); \
	self:zoom(0.8 - scale(math.abs(offsetFromCenter),0,numItems/0,0,0)); \
end;

NumWheelItems=8
MusicWheelSortOnCommand=fov,90;
MusicWheelSortOffCommand=fov,90;
MusicWheelItemSortOnCommand=zoomy,0;bounceend,0.15;zoomy,1
MusicWheelItemSortOffCommand=linear,0.175;zoomy,0
HighlightOnCommand=diffuseshift;effecttiming,(1/8),0,(7/8),0;effectcolor2,Color("White");effectcolor1,color("1,1,1,0.5");effectclock,'beatnooffset';zoom,0.6
HighlightOffCommand=
HighlightSortOnCommand=stoptweening;decelerate,0.125;glow,Color("Stealth");zoom,1
HighlightSortOffCommand=stoptweening;accelerate,0.125;glow,Color("Orange");zoom,1.05
WheelItemOnDelayOffset=0.04
WheelItemOffDelayOffset=0.04
WheelItemLockedColor=color("0,0,0,0.5")
#
NumSectionColors=1
SectionColor1=Color("Orange")
#
SongRealExtraColor=Color("Red")
SortMenuColor=Color("Blue")
#
ShowRoulette=false
ShowRandom=false
ShowPortal=false
MostPlayedSongsToShow=30

SortOrders={ "SortOrder_Preferred", "SortOrder_Group", "SortOrder_Title", "SortOrder_BPM", "SortOrder_Artist", "SortOrder_Genre", "SortOrder_EasyMeter", "SortOrder_MediumMeter", "SortOrder_HardMeter", "SortOrder_ChallengeMeter" }

UseEasyMarkerFlag=true

[MusicWheelItem]
WheelNotifyIconX=-128-16+0.5
WheelNotifyIconOnCommand=shadowlength,2;
#
SongNameX=9999
SongNameY=9999
SongNameOnCommand=
#
CourseX=9999
CourseOnCommand=maxwidth,208;horizalign,left
#
SectionExpandedX=0
SectionExpandedY=-111
SectionExpandedOnCommand=horizalign,center;maxwidth,180;shadowlength,1;shadowcolor,color("0.1,0.1,0.1,0.25");zoomy,0.6
#
SectionCollapsedX=0
SectionCollapsedY=-111
SectionCollapsedOnCommand=horizalign,center;maxwidth,180;shadowlength,1;shadowcolor,color("0.1,0.1,0.1,0.2");zoomy,0.6
#
SectionCountX=0
SectionCountY=80
SectionCountOnCommand=zoom,0.75;strokecolor,Color("Outline")
#
RouletteOnCommand=maxwidth,400;shadowlength,1;basezoom,0.75;rainbowscroll,true;pulse;effectmagnitude,1,1.125,1;effectperiod,3
#
SortX=-132
SortY=-2
SortOnCommand=maxwidth,256;horizalign,left;shadowlength,1;shadowcolor,color("0,0,0,0.325")
#
ModeX=-132
ModeY=-2
ModeOnCommand=maxwidth,256;horizalign,left;strokecolor,Color("Outline")
#
GradeP1X=-65
GradeP1Y=-82.5
GradeP1OnCommand=

GradeP2X=65
GradeP2Y=-82.5

[NoteField]
ShowBoard=GAMESTATE:GetCurrentGame():GetName() == "kb7"

[Player]
ReceptorArrowsYStandard=-137
ReceptorArrowsYReverse=180

ComboUnderField=ComboUnderField()
RollBodyIncrementsCombo=ThemePrefs.Get("ComboOnRolls")

[PlayerOptions]

[PlayerShared]

[Profile]

[RadarValues]

[RollingNumbers]

[RollingNumbersEvaluation]

[RollingNumbersJudgment]

[ScoreDisplayNormal]
TextOnCommand=shadowlength,1;

[ScoreDisplayOni]
TextX=
TextY=
TextOnCommand=diffuse,Color("#FF0000")
TextOffCommand=

[ScoreDisplayOni Numbers]
TextX=
TextY=
TextOnCommand=diffuse,Color("#FF0000")
TextOffCommand=

[ScoreDisplayLifeTime]
FrameOnCommand=visible,false;spin
#
TimeRemainingY=80
TimeRemainingOnCommand=zoom,1;shadowlength,1;
#
DeltaSecondsOnCommand=y,80;spin;
DeltaSecondsGainLifeCommand=zoom,0.5;

[ScoreDisplayPercentage Percent]
PercentP1OnCommand=shadowlength,1;diffuse,PlayerColor(White);strokecolor,ColorDarkTone(PlayerColor(PLAYER_1))
PercentP2OnCommand=shadowlength,1;diffuse,PlayerColor(White);strokecolor,ColorDarkTone(PlayerColor(PLAYER_2))

[ScoreDisplayRave]
MeterP1OnCommand=draworder,-1;texcoordvelocity,1,0
MeterP2OnCommand=draworder,-1;zoomx,-1;texcoordvelocity,1,0
LevelP1OnCommand=draworder,105;zoom,0.75;diffuse,ColorLightTone( PlayerColor(PLAYER_1) );strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );x,-144;skewx,-0.125;
LevelP2OnCommand=draworder,105;draworder,105;zoom,0.75;diffuse,ColorLightTone( PlayerColor(PLAYER_2) );strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );x,144;skewx,-0.125;

[ScoreKeeperRave]

[ScreenEvaluation Percent]
# TODO: Better name?
PercentP1OnCommand=horizalign,right;shadowlength,1;diffuse,PlayerColor(PLAYER_1);strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );
PercentP2OnCommand=horizalign,right;shadowlength,1;diffuse,PlayerColor(PLAYER_2);strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );
PercentRemainderP1OnCommand=horizalign,left;shadowlength,1;diffuse,PlayerColor(PLAYER_1);strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );
PercentRemainderP2OnCommand=horizalign,left;shadowlength,1;diffuse,PlayerColor(PLAYER_2);strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );
DancePointsP1X=0
DancePointsP1Y=0
DancePointsP1OnCommand=shadowlength,1;diffuse,PlayerColor(PLAYER_1);strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );
DancePointsP1OffCommand=
DancePointsP2X=0
DancePointsP2Y=0
DancePointsP2OnCommand=shadowlength,1;diffuse,PlayerColor(PLAYER_2);strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );
DancePointsP2OffCommand=
DancePointsDigits=2
ApplyScoreDisplayOptions=true
PercentDecimalPlaces=2
PercentTotalSize=5

[SoundEffectControl]

[SoundEffectControl_Off]

[SoundEffectControl_Speed]

[SoundEffectControl_Pitch]

[StepsDisplayList]
ItemsSpacingY=18.5
NumShownItems=5
CapitalizeDifficultyNames=true
MoveCommand=

[StepsDisplayListRow]
ShowDescription=true
ItemsSpacingY=18.5
NumShownItems=5

CapitalizeDifficultyNames=true
MoveCommand=

DescriptionX=-80
DescriptionY=0
DescriptionOnCommand=halign,1;zoomx,0.3;zoomy,0.5;shadowlength,2;maxwidth,77
DescriptionSetCommand=%function(self,param) \
	if param.CustomDifficulty then \
		self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) \
		self:uppercase( param.CustomDifficulty ~= "Edit" ) \
	end \
	if param.Steps and param.Steps:IsAnEdit() and param.Steps:GetDescription() == "" then \
		self:settext("Untitled") \
	end \
end

ShowTicks=true
NumTicks=30
MaxTicks=30
TicksX=-69
TicksY=1
TicksOnCommand=halign,0;zoomx,0.395
TicksSetCommand=%function(self,param) \
	if param.CustomDifficulty then \
		self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) \
	end \
end

ShowMeter=true
MeterX=127
MeterY=0
MeterOnCommand=zoomx,0.35;zoomy,0.7
MeterSetCommand=%function(self,param) if param.CustomDifficulty then self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) end end

[SongMeterDisplay]
StreamWidth=317

ContainerX=
ContainerY=
ContainerOnCommand=
ContainerOffCommand=

FrameX=0
FrameY=0
FrameOnCommand=diffuse,Color("White");
FrameOffCommand=

StreamX=0
StreamY=0
StreamOnCommand=0
StreamOffCommand=0

TipX=0
TipY=0
TipOnCommand=
TipOffCommand=
[SongMeterDisplayP1]
Fallback="SongMeterDisplay"
FrameOnCommand=sleep,2;linear,0.0;diffuse,PlayerColor("White");
[SongMeterDisplayP2]
Fallback="SongMeterDisplay"
FrameOnCommand=sleep,2;linear,0.25;diffuse,PlayerColor("White");glow,1,1,1,0.5;decelerate,0.6;glow,1,1,1,0

[StepsDisplayEvaluation]
Fallback="StepsDisplay"

[StreamDisplay]
; a simple bar life meter:

# PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
	# local fItemWidth = ( 256 / numItems ) \
	# self:x( ((itemIndex-(numItems/2))*fItemWidth) + ( numItems / 2 ) ); \
	# self:zoomtowidth(fItemWidth); \
	# self:diffuseramp(); \
	# self:effectperiod(4); \
	# self:effectoffset((itemIndex-1)/numItems * -1); \
	# self:effectcolor2(color("1,1,1,1")); \
	# self:effectcolor1(color("0.5,0.5,0.5,1")); \
	# self:effectclock('beatnooffset'); \
# end;

PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
	local fItemWidth = ( 256 / numItems ) \
	self:x( ((itemIndex-(numItems/2))*fItemWidth) + ( numItems / 2 ) ); \
	self:zoomtowidth(fItemWidth); \
	self:effecttiming(256,256*itemIndex,256,256*itemIndex); \
end;

# PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
	# local fItemWidth = ( 256 / numItems ) \
	# self:x( ((itemIndex-(numItems/2))*fItemWidth) + ( numItems / 2 ) ); \
	# self:zoomtowidth(fItemWidth); \
	# self:diffuseramp(); \
	# self:effecttiming(1,0.01875*itemIndex,1,1-(0.01875*itemIndex)); \
	# self:effectclock('beatnooffset'); \
# end;

TextureCoordScaleX=256/16
NumPills=16

[TextBanner]
TitleOnCommand=horizalign,left;shadowlength,1
SubtitleOnCommand=horizalign,left;shadowlength,1
ArtistOnCommand=visible,false
ArtistPrependString=""

[WheelNotifyIcon]

[Screen]

[ScreenDebugOverlay]

[ScreenSystemLayer]
ShowClock=true
#################################################################################################
CreditsP1X=SCREEN_LEFT+10
CreditsP1Y=SCREEN_BOTTOM-6.5
CreditsP1RefreshCreditTextMessageCommand=queuecommand,"UpdateText";
CreditsP1CoinInsertedMessageCommand=queuecommand,"UpdateText";
CreditsP1CoinInsertedMessageCommand=queuecommand,"UpdateText";
CreditsP1PlayerJoinedMessageCommand=queuecommand,"UpdateText";
CreditsP1ScreenChangedMessageCommand=queuecommand,"UpdateVisible";queuecommand,"On"
CreditsP1OnCommand=horizalign,left;vertalign,bottom;zoom,0.675;shadowlength,1;
CreditsP1OffCommand=
#################################################################################################
CreditsP2X=SCREEN_RIGHT-10
CreditsP2Y=SCREEN_BOTTOM-6.5
CreditsP2RefreshCreditTextMessageCommand=queuecommand,"UpdateText";
CreditsP2CoinInsertedMessageCommand=queuecommand,"UpdateText";
CreditsP2PlayerJoinedMessageCommand=queuecommand,"UpdateText";
CreditsP2ScreenChangedMessageCommand=queuecommand,"UpdateVisible";queuecommand,"On"
CreditsP2OnCommand=horizalign,right;vertalign,bottom;zoom,0.675;shadowlength,1;
CreditsP2OffCommand=
#################################################################################################
[ScreenConsoleOverlay]

[ScreenInstallOverlay]

[ScreenSyncOverlay]

[ScreenStatsOverlay]

[ScreenWithMenuElements]
WaitForChildrenBeforeTweening=true
#################################################################################################
ScreenInDelay=0
ScreenOutDelay=0
#################################################################################################
FOV=90
#################################################################################################
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,100;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=
#################################################################################################
ShowFooter=true
FooterX=SCREEN_CENTER_X
FooterY=SCREEN_BOTTOM+1
FooterOnCommand=draworder,5;vertalign,bottom;zoomy,0.65
FooterOffCommand=
#################################################################################################
ShowHelp=true
HelpX=SCREEN_CENTER_X
HelpY=SCREEN_BOTTOM-16
HelpOnCommand=SetSecsBetweenSwitches,4;zoom,0.675;maxwidth,480/0.675;shadowlength,1;strokecolor,Color("Black");draworder,105;zoomy,0;zoom,1*0.675;linear,0.175
HelpOffCommand=linear,0.175;zoomy,0
#################################################################################################
AlternateHelpDisplayX=SCREEN_CENTER_X
AlternateHelpDisplayY=SCREEN_BOTTOM-16
AlternateHelpDisplayOnCommand=SetSecsBetweenSwitches,4;zoom,0.675;maxwidth,480/0.675;shadowlength,1;strokecolor,Color("Black");draworder,105;zoomy,0;linear,0.175;zoom,1*0.675;diffusealpha,0
AlternateHelpDisplayOffCommand=linear,0.175;zoomy,0
#################################################################################################
TimerX=SCREEN_CENTER_X+400
TimerY=SCREEN_TOP+15
TimerOnCommand=draworder,6;visible,true;zoom,1.5
TimerOffCommand=
#################################################################################################
StageDisplayNumberOffset=1
StageDisplayUseShortString=false
#################################################################################################
ArcadeOverlayX=
ArcadeOverlayY=
ArcadeOverlayOnCommand=draworder,100
ArcadeOverlayOffCommand=
#################################################################################################
ArcadeOverlay.TextX=SCREEN_CENTER_X
ArcadeOverlay.TextY=SCREEN_BOTTOM-48
ArcadeOverlay.TextOnCommand=
ArcadeOverlay.TextOffCommand=
#################################################################################################
[ScreenWithMenuElementsBlank]
ShowHeader=false
ShowFooter=false

[ScreenSelectMaster]

[ScreenSelectMasterBlank]

[ScreenTextEntry]
QuestionOnCommand=diffuse,Color("Orange");diffusetopedge,BoostColor(Color("Orange"),1.5);wrapwidthpixels,600
AnswerOnCommand=diffuse,Color("Blue");glowshift;


[ScreenInit]
PrepareScreens="ScreenTitleMenu,ScreenTitleJoin"
GroupedScreens="ScreenInit,ScreenTitleJoin,ScreenTitleMenu"
PersistScreens="ScreenInit,ScreenTitleJoin,ScreenTitleMenu"

[ScreenTitleMenu]
PrevScreen="ScreenCompany"
ShowHeader=false
ShowFooter=false
#
WrapScroller=false
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y((24)*(itemIndex-(numItems-1)/2)); end;
ScrollerSecondsPerItem=0
ScrollerNumItemsToDraw=20
ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y+155
ScrollerOnCommand=zoom,0.85
#
ShowLogo=true
LogoX=SCREEN_CENTER_X
LogoY=SCREEN_CENTER_Y-90
LogoOnCommand=zoom,0.5
LogoOffCommand=
#
ShowCurrentGametype=true
CurrentGametypeX=SCREEN_CENTER_X-125
CurrentGametypeY=SCREEN_BOTTOM-15
CurrentGametypeOnCommand=zoom,2
CurrentGametypeOffCommand=linear,0.5;cropleft,1
#
ShowNumSongs=true
NumSongsX=SCREEN_CENTER_X+999
NumSongsY=SCREEN_HEIGHT*0.1575+5
NumSongsOnCommand=vertalign,bottom;horizalign,right;zoom,0.5;playcommand,"Set"
NumSongsOffCommand=
#
#
ShowTimingDifficulty=true
TimingDifficultyX=SCREEN_LEFT+84
TimingDifficultyY=SCREEN_TOP+22
TimingDifficultyOnCommand=
TimingDifficultyOffCommand=
#
ShowLifeDifficulty=true
LifeDifficultyX=SCREEN_RIGHT-84
LifeDifficultyY=SCREEN_TOP+22
LifeDifficultyOnCommand=
LifeDifficultyOffCommand=
#
ShowSystemDirection=false
SystemDirectionX=SCREEN_LEFT+40
SystemDirectionY=SCREEN_TOP+24
SystemDirectionOnCommand=
SystemDirectionOffCommand=
#
ShowVersionInfo=false
VersionInfoX=SCREEN_RIGHT-90
VersionInfoY=SCREEN_BOTTOM-64
VersionInfoOnCommand=
VersionInfoOffCommand=
#
ShowNetworkStatus=true
NetworkStatusX=SCREEN_LEFT+5
NetworkStatusY=SCREEN_CENTER_Y+77
NetworkStatusOnCommand=visible,IsNetConnected()
NetworkStatusOffCommand=linear,0.5;cropright,1
#
HelpY=SCREEN_BOTTOM-24
#
ChoiceNames="GameStart,GameType,Edit,Options,Exit"
DefaultChoice="GameStart"

ChoiceGameType="screen,ScreenSelectGame;text,SelectGame"

[ScreenQuickSetupOverview]
IconStartX=SCREEN_CENTER_X-160
IconStartY=SCREEN_BOTTOM-60
IconSetX=SCREEN_CENTER_X-160
IconSetY=SCREEN_BOTTOM-60
IconBackX=SCREEN_CENTER_X+160
IconBackY=SCREEN_BOTTOM-60

ExplanationX=SCREEN_CENTER_X
ExplanationY=SCREEN_BOTTOM-100
ExplanationOnCommand=shadowlength,1;zoom,0.75;maxwidth,SCREEN_WIDTH/0.75;
ExplanationOffCommand=


[ScreenProfileLoad]
#
ShowHeader=true
ShowFooter=true
ShowHelp=true

[ScreenSelectProfile]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

WaitForChildrenBeforeTweening=true

[ScreenSelectStyle]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

UpdateOnMesage=""
NextScreen=Branch.SelectMusic
#
FOV=90

DefaultChoice="Single"
ChoiceNames=GameCompatibleModes()
#
PerChoiceScrollElement=false
PerChoiceIconElement=false

Choicepopn-five="name,popn-five;style,popn-five;screen,"..Branch.AfterSelectStyle()
Choicepopn-nine="name,popn-nine;style,popn-nine;screen,"..Branch.AfterSelectStyle()

ChoiceKeys5Versus="name,Keys5Versus;style,versus5;screen,"..Branch.AfterSelectStyle()
ChoiceKeys7Versus="name,Keys7Versus;style,versus7;screen,"..Branch.AfterSelectStyle()

IconChoiceKeys7VersusX=SCREEN_CENTER_X-370
IconChoiceKeys7VersusY=SCREEN_CENTER_Y-110
IconChoiceKeys7VersusOnCommand=zoom,0;zoom,0.5
IconChoiceKeys7VersusOffCommand=linear,0.1175;zoomx,0

IconChoiceKeys5VersusX=SCREEN_CENTER_X-370
IconChoiceKeys5VersusY=SCREEN_CENTER_Y-110
IconChoiceKeys5VersusOnCommand=zoom,0;zoom,0.5
IconChoiceKeys5VersusOffCommand=linear,0.1175;zoomx,0

IconChoicepopn-fiveX=SCREEN_CENTER_X+20
IconChoicepopn-fiveY=SCREEN_CENTER_Y+30
IconChoicepopn-fiveOnCommand=zoom,0;zoom,0.5
IconChoicepopn-fiveOffCommand=linear,0.1175;zoomx,0

IconChoicepopn-nineX=SCREEN_CENTER_X-160
IconChoicepopn-nineY=SCREEN_CENTER_Y+30
IconChoicepopn-nineOnCommand=zoom,0;zoom,0.5
IconChoicepopn-nineOffCommand=linear,0.1175;zoomx,0
#
Choice7Keys="name,7Keys;style,single7;screen,"..Branch.AfterSelectStyle()

IconChoicekb7X=SCREEN_CENTER_X-370
IconChoicekb7Y=SCREEN_CENTER_Y-110
IconChoicekb7OnCommand=zoom,0;zoom,0.5
IconChoicekb7OffCommand=linear,0.1175;zoomx,0
#
ShowScroller=true
ShowIcon=true
WrapScroller=true
UseIconMetrics=true
#
ChoiceSingle="name,Single;style,single;text,Single;screen,"..Branch.AfterSelectStyle()
ChoiceDouble="name,Double;style,double;text,Double;screen,"..Branch.AfterSelectStyle()
ChoiceSolo="name,Solo;style,solo;text,Solo;screen,"..Branch.AfterSelectStyle()
ChoiceVersus="name,Versus;style,versus;text,Versus;screen,"..Branch.AfterSelectStyle()
ChoiceCouple="name,Couple;style,couple;text,Couple;screen,"..Branch.AfterSelectStyle()
ChoiceRoutine="name,Routine;style,routine;text,Routine;screen,"..Branch.AfterSelectStyle()
ChoiceThreepanel="name,Threepanel;style,Threepanel;text,Threepanel;screen,"..Branch.AfterSelectStyle()
#------------------------------------------ DANCE

IconChoiceSingleX=SCREEN_CENTER_X-370
IconChoiceSingleY=SCREEN_CENTER_Y-110
IconChoiceSingleOnCommand=zoom,0;zoom,0.5
IconChoiceSingleOffCommand=linear,0.1175;zoomx,0

IconChoiceDoubleX=SCREEN_CENTER_X-230
IconChoiceDoubleY=SCREEN_CENTER_Y-110
IconChoiceDoubleOnCommand=zoom,0;zoom,0.5
IconChoiceDoubleOffCommand=linear,0.1175;zoomx,0

IconChoiceThreepanelX=SCREEN_CENTER_X-85
IconChoiceThreepanelY=SCREEN_CENTER_Y-110
IconChoiceThreepanelOnCommand=zoom,0;zoom,0.5
IconChoiceThreepanelOffCommand=linear,0.1175;zoomx,0

IconChoiceSoloX=SCREEN_CENTER_X+20
IconChoiceSoloY=SCREEN_CENTER_Y-110
IconChoiceSoloOnCommand=zoom,0;zoom,0.5
IconChoiceSoloOffCommand=linear,0.1175;zoomx,0

IconChoiceVersusX=SCREEN_CENTER_X+155
IconChoiceVersusY=SCREEN_CENTER_Y-110
IconChoiceVersusOnCommand=zoom,0;zoom,0.5
IconChoiceVersusOffCommand=linear,0.1175;zoomx,0

IconChoiceRoutineX=SCREEN_CENTER_X+330
IconChoiceRoutineY=SCREEN_CENTER_Y-110
IconChoiceRoutineOnCommand=zoom,0;zoom,0.5
IconChoiceRoutineOffCommand=linear,0.1175;zoomx,0

IconChoiceCoupleX=SCREEN_CENTER_X+160
IconChoiceCoupleY=string.find(THEME:GetMetric("ScreenSelectStyle","ChoiceNames"),"Routine") and SCREEN_CENTER_Y or SCREEN_CENTER_Y+48
IconChoiceCoupleOnCommand=zoom,0;bounceend,0.35;zoom,1
IconChoiceCoupleOffCommand=linear,0.1175;zoomx,0
#------------------------------------------ PUMP
ChoiceHalfDouble="name,HalfDouble;style,halfdouble;text,HalfDouble;screen,"..Branch.AfterSelectStyle()

IconChoiceHalfDoubleX=SCREEN_CENTER_X-330
IconChoiceHalfDoubleY=SCREEN_CENTER_Y+30
IconChoiceHalfDoubleOnCommand=zoom,0;zoom,0.5
IconChoiceHalfDoubleOffCommand=linear,0.1175;zoomx,0
#------------------------------------------ TECHNO
ChoiceTechno4="name,Techno4;style,single4;text,Techno4;screen,"..Branch.AfterSelectStyle()
ChoiceTechno5="name,Techno5;style,single5;text,Techno5;screen,"..Branch.AfterSelectStyle()
ChoiceTechno8="name,Techno8;style,single8;text,Techno8;screen,"..Branch.AfterSelectStyle()
ChoiceTechnoDouble4="name,TechnoDouble4;style,double4;text,TechnoDouble4;screen,"..Branch.AfterSelectStyle()
ChoiceTechnoDouble5="name,TechnoDouble5;style,double5;text,TechnoDouble5;screen,"..Branch.AfterSelectStyle()
ChoiceTechnoDouble8="name,TechnoDouble8;style,double8;text,TechnoDouble8;screen,"..Branch.AfterSelectStyle()
ChoiceTechnoVersus4="name,TechnoVersus4;style,versus4;text,TechnoVersus4;screen,"..Branch.AfterSelectStyle()
ChoiceTechnoVersus5="name,TechnoVersus5;style,versus5;text,TechnoVersus5;screen,"..Branch.AfterSelectStyle()
ChoiceTechnoVersus8="name,TechnoVersus8;style,versus8;text,TechnoVersus8;screen,"..Branch.AfterSelectStyle()

IconChoiceTechno4X=SCREEN_CENTER_X-370
IconChoiceTechno4Y=SCREEN_CENTER_Y+170
IconChoiceTechno4OnCommand=zoom,0;zoom,0.5
IconChoiceTechno4OffCommand=linear,0.1175;zoomx,0

IconChoiceTechno5X=SCREEN_CENTER_X-278
IconChoiceTechno5Y=SCREEN_CENTER_Y+170
IconChoiceTechno5OnCommand=zoom,0;zoom,0.5;
IconChoiceTechno5OffCommand=linear,0.1175;zoomx,0

IconChoiceTechno8X=SCREEN_CENTER_X-185
IconChoiceTechno8Y=SCREEN_CENTER_Y+170
IconChoiceTechno8OnCommand=zoom,0;zoom,0.5
IconChoiceTechno8OffCommand=linear,0.1175;zoomx,0

IconChoiceTechnoDouble4X=SCREEN_CENTER_X-92.5
IconChoiceTechnoDouble4Y=SCREEN_CENTER_Y+170
IconChoiceTechnoDouble4OnCommand=zoom,0;zoom,0.5
IconChoiceTechnoDouble4OffCommand=linear,0.1175;zoomx,0

IconChoiceTechnoDouble5X=SCREEN_CENTER_X
IconChoiceTechnoDouble5Y=SCREEN_CENTER_Y+170
IconChoiceTechnoDouble5OnCommand=zoom,0;zoom,0.5
IconChoiceTechnoDouble5OffCommand=linear,0.1175;zoomx,0

IconChoiceTechnoDouble8X=SCREEN_CENTER_X+92.5
IconChoiceTechnoDouble8Y=SCREEN_CENTER_Y+170
IconChoiceTechnoDouble8OnCommand=zoom,0;zoom,0.5
IconChoiceTechnoDouble8OffCommand=linear,0.1175;zoomx,0

IconChoiceTechnoVersus4X=SCREEN_CENTER_X+185
IconChoiceTechnoVersus4Y=SCREEN_CENTER_Y+170
IconChoiceTechnoVersus4OnCommand=zoom,0;zoom,0.5
IconChoiceTechnoVersus4OffCommand=linear,0.1175;zoomx,0

IconChoiceTechnoVersus5X=SCREEN_CENTER_X+277.5
IconChoiceTechnoVersus5Y=SCREEN_CENTER_Y+170
IconChoiceTechnoVersus5OnCommand=zoom,0;zoom,0.5
IconChoiceTechnoVersus5OffCommand=linear,0.1175;zoomx,0

IconChoiceTechnoVersus8X=SCREEN_CENTER_X+198
IconChoiceTechnoVersus8Y=SCREEN_CENTER_Y+105
IconChoiceTechnoVersus8OnCommand=zoom,0;zoom,1
IconChoiceTechnoVersus8OffCommand=linear,0.1175;zoomx,0
#------------------------------------------ KB7
#------------------------------------------ KEYS
IconChoice5KeysX=SCREEN_CENTER_X-160
IconChoice5KeysY=SCREEN_CENTER_Y-48
IconChoice5KeysOnCommand=zoom,0;bounceend,0.35;zoom,1
IconChoice5KeysOffCommand=linear,0.1175;zoomx,0
#
IconChoice7KeysX=SCREEN_CENTER_X-160
IconChoice7KeysY=SCREEN_CENTER_Y+48
IconChoice7KeysOnCommand=zoom,0;bounceend,0.35;zoom,1
IconChoice7KeysOffCommand=linear,0.1175;zoomx,0
#
IconChoice10KeysX=SCREEN_CENTER_X+160
IconChoice10KeysY=SCREEN_CENTER_Y-48
IconChoice10KeysOnCommand=zoom,0;bounceend,0.35;zoom,1
IconChoice10KeysOffCommand=linear,0.1175;zoomx,0
#
IconChoice14KeysX=SCREEN_CENTER_X+160
IconChoice14KeysY=SCREEN_CENTER_Y+48
IconChoice14KeysOnCommand=zoom,0;bounceend,0.35;zoom,1
IconChoice14KeysOffCommand=linear,0.1175;zoomx,0

IconGainFocusCommand=bounceend,0.1;zoom,0.6
IconLoseFocusCommand=decelerate,0.1;zoom,0.5

[ScreenSelectPlayMode]
PersistScreens="ScreenSelectPlayMode,ScreenSelectMusic"

ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

#
ScreenOutDelay=3
#
DefaultChoice="Easy"
ChoiceNames="Normal,Nonstop,Endless"
#
PerChoiceIconElement=false
#
ShowScroller=false
WrapScroller=false
ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y-60
ScrollerOnCommand=SetFastCatchup,true;
ScrollerOffCommand=decelerate,0.8;y,SCREEN_CENTER_Y;sleep,1.5;linear,0.1;zoomy,0
#
ChoiceEasy="applydefaultoptions;name,Easy;text,Easy;playmode,regular;difficulty,easy;screen,ScreenSelectMusic;setenv,sMode,Normal"
ChoiceNormal="applydefaultoptions;name,Normal;text,Dance;playmode,regular;difficulty,easy;screen,ScreenSelectMusic;setenv,sMode,Normal"
ChoiceHard="applydefaultoptions;name,Hard;text,Hard;playmode,regular;difficulty,hard;screen,ScreenSelectMusic;setenv,sMode,Normal"
ChoiceRave="applydefaultoptions;name,Rave;text,Rave;playmode,rave;screen,ScreenSelectMusic;setenv,sMode,Rave"
ChoiceNonstop="applydefaultoptions;name,Nonstop;text,Extended;playmode,nonstop;screen,ScreenSelectCourse;setenv,sMode,Nonstop"
ChoiceOni="applydefaultoptions;name,Oni;text,Oni;playmode,oni;screen,ScreenSelectCourse;setenv,sMode,Oni"
ChoiceEndless="applydefaultoptions;name,Endless;text,Marathon;playmode,endless;screen,ScreenSelectCourse;setenv,sMode,Endless"
#
ShowBackgroundFrame=false
BackgroundFrameX=SCREEN_CENTER_X
BackgroundFrameY=SCREEN_CENTER_Y-60
BackgroundFrameOnCommand=diffuse,Color("Black");diffusealpha,0.7
BackgroundFrameOffCommand=decelerate,0.8;y,SCREEN_CENTER_Y;sleep,1.5;linear,0.1;zoomy,0
#
ShowIcon=true
UseIconMetrics=true
#
IconGainFocusCommand=stoptweening;glowshift;decelerate,0.125;zoom,1;
IconLoseFocusCommand=stoptweening;stopeffect;decelerate,0.125;zoom,0.6;
# IconMinZoom=0.5
# IconBaseZoom=0.6
#
IconChoiceEasyX=SCREEN_CENTER_X
IconChoiceEasyY=SCREEN_BOTTOM-88-64
IconChoiceEasyOnCommand=zoom,1;bounceend,0.35;zoom,0.8
IconChoiceEasyOffCommand=linear,0.1175;zoomx,0
#
IconChoiceNormalX=SCREEN_CENTER_X-280
IconChoiceNormalY=SCREEN_CENTER_Y
IconChoiceNormalOnCommand=zoom,0;zoom,0.6
IconChoiceNormalOffCommand=linear,0.1175;zoomx,0
#
IconChoiceHardX=SCREEN_CENTER_X
IconChoiceHardY=SCREEN_BOTTOM-88-64
IconChoiceHardOnCommand=zoom,1;zoom,0.7
IconChoiceHardOffCommand=linear,0.1175;zoomx,0
#
IconChoiceRaveX=SCREEN_CENTER_X
IconChoiceRaveY=SCREEN_BOTTOM-82
IconChoiceRaveOnCommand=zoom,1;zoom,0.7
IconChoiceRaveOffCommand=linear,0.1175;zoomx,0
#
IconChoiceNonstopX=SCREEN_CENTER_X
IconChoiceNonstopY=SCREEN_CENTER_Y
IconChoiceNonstopOnCommand=zoom,0;zoom,0.6
IconChoiceNonstopOffCommand=linear,0.1175;zoomx,0
#
IconChoiceOniX=SCREEN_CENTER_X
IconChoiceOniY=SCREEN_BOTTOM-242
IconChoiceOniOnCommand=zoom,1;zoom,0.7
IconChoiceOniOffCommand=linear,0.1175;zoomx,0
#
IconChoiceEndlessX=SCREEN_CENTER_X+280
IconChoiceEndlessY=SCREEN_CENTER_Y
IconChoiceEndlessOnCommand=zoom,0;zoom,0.6
IconChoiceEndlessOffCommand=linear,0.1175;zoomx,0

[ScreenSelectCharacter]

[ScreenGameInformation]

[ScreenSelectMusic]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP-6
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

#
UsePlayerSelectMenu=false
SelectMenuAvailable=true
HelpSelectMenuOpenedMessageCommand=stoptweening;maxwidth,480/0.675;zoom,0.675;accelerate,0.125;diffusealpha,0;zoom,0.675*0.75;
HelpSelectMenuClosedMessageCommand=stoptweening;maxwidth,480/0.675;zoom,0.675*0.75;bouncebegin,0.125;diffusealpha,1;zoom,0.675
ShowAlternateHelpDisplay=true
AlternateHelpDisplaySelectMenuOpenedMessageCommand=stoptweening;maxwidth,480/0.675;zoom,0.675*1.25;bounceend,0.2;diffusealpha,1;zoom,0.675;
AlternateHelpDisplaySelectMenuClosedMessageCommand=stoptweening;maxwidth,480/0.675;zoom,0.675;accelerate,0.125;diffusealpha,0;zoom,0.675*0.75;
#
#
MusicWheelX=SCREEN_CENTER_X
MusicWheelY=SCREEN_CENTER_Y-115
MusicWheelOnCommand=draworder,-50;zoomy,0;smooth,0.4;zoomy,1.0
MusicWheelOffCommand=smooth,0.4;zoomy,0;
#
ShowNewSong=not GAMESTATE:IsCourseMode()
NewSongX=SCREEN_CENTER_X-9999
NewSongY=SCREEN_CENTER_Y+9999
NewSongOnCommand=finishtweening;diffuse,Color("Orange");diffusetopedge,Color("Yellow");strokecolor,Color("Black");zoom,0.675;draworder,106;playcommand,"Set"
NewSongOffCommand=bouncebegin,0.135;zoom,0;diffusealpha,0
NewSongShowCommand=finishtweening;diffusealpha,1;glowshift;effectclock,'bgm';effectperiod,4;textglowmode,'TextGlowMode_Inner';
NewSongHideCommand=finishtweening;;diffusealpha,0;stopeffect;
#
ShowSongTime=true
SongTimeX=SCREEN_CENTER_X-210
SongTimeY=SCREEN_CENTER_Y+5
SongTimeOnCommand=horizalign,left;zoom,1;strokecolor,Color("Outline");shadowlength,1
SongTimeOffCommand=
SongTimeResetCommand=diffuse,Color("White");
SongTimeAutogenCommand=diffuse,Color("Green");
SongTimeLongCommand=diffuse,Color("Yellow");diffusebottomedge,Color("Orange");
SongTimeMarathonCommand=diffuse,Color("Orange");diffusebottomedge,Color("Red");
#
ShowSortOrderFrame=true
SortOrderFrameX=SCREEN_CENTER_X+9999
SortOrderFrameY=SCREEN_TOP+16
SortOrderFrameOnCommand=draworder,105;shadowlength,1
SortOrderFrameSortCommand=
SortOrderFrameSongChosenCommand=linear,0.25;diffusealpha,0;
SortOrderFrameOffCommand=bouncebegin,0.15;zoomy,0;

#
ShowSortOrder=true
SortOrderX=SCREEN_CENTER_X
SortOrderY=SCREEN_TOP+12.5
SortOrderOnCommand=draworder,105;zoom,1.5
SortOrderSortCommand=
SortOrderSongChosenCommand=diffusealpha,0;
SortOrderOffCommand=
#
ShowStageDisplay=true
StageDisplayX=SCREEN_CENTER_X-50
StageDisplayY=SCREEN_CENTER_Y+5
StageDisplayOnCommand=draworder,105;fov,90;zoom,0.675;zoomy,0;sleep,0.35;smooth,0.35;zoom,0.9
StageDisplayOffCommand=
#
ShowGrooveRadar=not GAMESTATE:IsCourseMode()
GrooveRadarX=SCREEN_CENTER_X+325
GrooveRadarY=SCREEN_CENTER_Y+140
GrooveRadarOnCommand=draworder,-1;zoom,0.85;diffusealpha,0;decelerate,0.35;diffusealpha,1;
GrooveRadarOffCommand=linear,0.15;diffusealpha,0
GrooveRadarTweenOnCommand=stoptweening;linear,0.135;zoom,0.85
GrooveRadarTweenOffCommand=stoptweening;linear,0.135;zoom,0

ShowDifficultyDisplay=false
DifficultyDisplayX=SCREEN_CENTER_X-160
DifficultyDisplayY=SCREEN_TOP+160-96+2
DifficultyDisplayOnCommand=draworder,105;fov,90;zoom,1;zoomy,0;sleep,0.35;smooth,0.35;zoomy,1
DifficultyDisplayOffCommand=linear,0.25;zoomy,0;
#
BannerX=SCREEN_CENTER_X+124
BannerY=SCREEN_CENTER_Y+180
#BannerOnCommand=draworder,-1;scaletoclipped,590,185;zoom,0.3
BannerOnCommand=visible,false
BannerOffCommand=bouncebegin,0.15;zoomx,0;
#
ShowBannerFrame=true
BannerFrameX=SCREEN_CENTER_X-200
BannerFrameY=SCREEN_TOP+160-36+4
BannerFrameOnCommand=draworder,-5;addy,-SCREEN_CENTER_Y;decelerate,0.35;addy,SCREEN_CENTER_Y
BannerFrameOffCommand=bouncebegin,0.15;zoomx,0;
#
ShowBPMDisplay=true
BPMDisplayX=SCREEN_CENTER_X-388
BPMDisplayY=SCREEN_CENTER_Y+5
BPMDisplayOnCommand=finishtweening;maxwidth,128;horizalign,left;strokecolor,Color.Outline;addx,320;zoomx,0;decelerate,0.35;addx,-320;zoomx,1
BPMDisplayOffCommand=bouncebegin,0.15;zoomx,0;
#
ShowBPMLabel=false
BPMLabelX=SCREEN_CENTER_X-120
BPMLabelY=SCREEN_CENTER_Y+10
BPMLabelOnCommand=addx,-SCREEN_CENTER_X;decelerate,0.35;addx,SCREEN_CENTER_X
BPMLabelOffCommand=bouncebegin,0.15;zoomx,0;
#
ShowSegmentDisplay=false
SegmentDisplayX=SCREEN_CENTER_X-160
SegmentDisplayY=SCREEN_TOP+160-36+4
SegmentDisplayOnCommand=addx,-SCREEN_CENTER_X;decelerate,0.35;addx,SCREEN_CENTER_X
SegmentDisplayOffCommand=bouncebegin,0.15;zoomx,0;
#
ShowDifficultyList=true
DifficultyListX=SCREEN_CENTER_X-230
DifficultyListY=SCREEN_CENTER_Y+28
DifficultyListOnCommand=addx,-SCREEN_CENTER_X;decelerate,0.35;addx,SCREEN_CENTER_X;zoomx,1.8;zoomy,1.04
DifficultyListOffCommand=diffusealpha,0.5
#
DifficultyListTweenOnCommand=stoptweening;bounceend,0.135;zoomx,1.8
DifficultyListTweenOffCommand=diffusealpha,0.5
#
ShowPaneDisplayFrameP1=true
PaneDisplayFrameP1X=SCREEN_CENTER_X-240
PaneDisplayFrameP1Y=SCREEN_BOTTOM-20
PaneDisplayFrameP1OnCommand=player,PLAYER_1;diffuse,Color("Orange");zoomy,0;sleep,0.5;decelerate,0.25;zoomy,1
PaneDisplayFrameP1OffCommand=bouncebegin,0.15;zoomx,0;
PaneDisplayFrameP1PlayerJoinedMessageCommand=%function(self,params) if params.Player == PLAYER_1 then self:playcommand("On") end end
#
ShowPaneDisplayTextP1=true
PaneDisplayTextP1X=SCREEN_CENTER_X-311
PaneDisplayTextP1Y=SCREEN_BOTTOM-70
PaneDisplayTextP1OnCommand=player,PLAYER_1;draworder,106;zoomy,0;sleep,0.5;decelerate,0.25;zoomy,1
PaneDisplayTextP1OffCommand=bouncebegin,0.15;zoomx,0;
PaneDisplayTextP1PlayerJoinedMessageCommand=%function(self,params) if params.Player == PLAYER_1 then self:playcommand("On") end end
#
ShowPaneDisplayFrameP2=true
PaneDisplayFrameP2X=SCREEN_CENTER_X+240
PaneDisplayFrameP2Y=SCREEN_BOTTOM-70
PaneDisplayFrameP2OnCommand=player,PLAYER_2;diffuse,Color("Orange");zoomy,0;sleep,0.5;decelerate,0.25;zoomy,1
PaneDisplayFrameP2OffCommand=bouncebegin,0.15;zoomx,0;
PaneDisplayFrameP2PlayerJoinedMessageCommand=%function(self,params) if params.Player == PLAYER_2 then self:playcommand("On") end end
#
ShowPaneDisplayTextP2=true
PaneDisplayTextP2X=SCREEN_CENTER_X-90
PaneDisplayTextP2Y=SCREEN_BOTTOM-70
PaneDisplayTextP2OnCommand=player,PLAYER_2;zoomy,0;sleep,0.5;decelerate,0.25;zoomy,1
PaneDisplayTextP2OffCommand=bouncebegin,0.15;zoomx,0;
PaneDisplayTextP2PlayerJoinedMessageCommand=%function(self,params) if params.Player == PLAYER_2 then self:playcommand("On") end end
#
ShowCourseContentsList=false
CourseContentsListX=SCREEN_CENTER_X-160
CourseContentsListY=SCREEN_TOP+216+6
CourseContentsListOnCommand=addx,-SCREEN_CENTER_X;decelerate,0.35;addx,SCREEN_CENTER_X
CourseContentsListOffCommand=bouncebegin,0.15;zoomx,0;
#
ShowNumCourseSongs=GAMESTATE:IsCourseMode()
NumCourseSongsX=SCREEN_CENTER_X
NumCourseSongsY=SCREEN_CENTER_Y
NumCourseSongsOnCommand=zoom,0.75;strokecolor,Color("Outline");shadowlength,1
NumCourseSongsOffCommand=bouncebegin,0.15;zoom,0;diffusealpha,0;
#
ShowSongOptions=true
SongOptionsX=SCREEN_CENTER_X
SongOptionsY=SCREEN_CENTER_Y
SongOptionsOnCommand=visible,false;draworder,1000
SongOptionsOffCommand=
#--
SongOptionsShowCommand=visible,true;uppercase,true;zoom,1.2;settext,THEME:GetString("ScreenSelectMusic","Press Start For Options");decelerate,0.3;zoom,1;
SongOptionsEnterCommand=uppercase,true;settext,THEME:GetString("ScreenSelectMusic","Entering Options");sleep,0.5;linear,0.3;zoomy,0;
SongOptionsHideCommand=linear,0.3;zoomy,0;
#
ShowSongOptionsFrame=true
SongOptionsFrameX=SCREEN_CENTER_X
SongOptionsFrameY=SCREEN_CENTER_Y
SongOptionsFrameOnCommand=visible,false;draworder,1000
SongOptionsFrameOffCommand=
#--
SongOptionsFrameShowCommand=visible,true;diffuse,Color("Orange");diffusealpha,0.5;zoomy,40*1.5;linear,1.5;zoomy,40;
SongOptionsFrameEnterCommand=sleep,0.5;linear,0.3;diffusealpha,0;
SongOptionsFrameHideCommand=linear,0.3;diffusealpha,0
#
CDTitleX=
CDTitleY=
CDTitleFrontCommand=diffuse,color('0.5,0.5,0.5,1');cullmode,'CullMode_Front'
CDTitleBackCommand=cullmode,'CullMode_Back'
CDTitleOnCommand=visible,false;
CDTitleOffCommand=bouncebegin,0.15;zoomx,0;
#
#
#
ScoreP1SortChangeCommand=stoptweening;
ScoreP2SortChangeCommand=stoptweening;
ScoreFrameP1SortChangeCommand=stoptweening;
ScoreFrameP2SortChangeCommand=stoptweening;

ShowStepsDisplayList=not GAMESTATE:IsCourseMode()
StepsDisplayListX=SCREEN_CENTER_X+205
StepsDisplayListY=SCREEN_CENTER_Y+100
StepsDisplayListOnCommand=draworder,300;zoom,0.94;addx,SCREEN_WIDTH;decelerate,0.75;addx,-SCREEN_WIDTH;
StepsDisplayListOffCommand=
StepsDisplayListShowCommand=
StepsDisplayListHideCommand=
#
StepsDisplayP1X=SCREEN_CENTER_X-408
StepsDisplayP1Y=SCREEN_BOTTOM-106.5
StepsDisplayP1OnCommand=draworder,101;shadowlength,0;zoom,0;sleep,0.55;bounceend,0.3;zoom,1.063
StepsDisplayP1OffCommand=

StepsDisplayP2X=SCREEN_CENTER_X+9
StepsDisplayP2Y=SCREEN_BOTTOM-106.5
StepsDisplayP2OnCommand=draworder,101;shadowlength,0;zoom,0;sleep,0.55;bounceend,0.3;zoom,1.063
StepsDisplayP2OffCommand=

ShowPercentScoreP1=true
PercentScoreP1X=SCREEN_CENTER_X-388
PercentScoreP1Y=SCREEN_BOTTOM-106.5
PercentScoreP1OnCommand=draworder,300;horizalign,left;player,PLAYER_1;addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y;zoom,1
PercentScoreP1OffCommand=bouncebegin,0.15;zoomx,0;
#
ShowPercentScoreP2=true
PercentScoreP2X=SCREEN_CENTER_X-12
PercentScoreP2Y=SCREEN_BOTTOM-106.5
PercentScoreP2OnCommand=draworder,300;horizalign,right;player,PLAYER_2;addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y;zoom,1
PercentScoreP2OffCommand=bouncebegin,0.15;zoomx,0;

[ScreenSelectCourse]
MusicWheelType=GAMESTATE:GetPlayMode() == 'PlayMode_Oni' and "OniWheel" or "CourseWheel"
Codes=GAMESTATE:GetPlayMode() == 'PlayMode_Oni' and "OniCodeDetector" or "CourseCodeDetector"
#
ShowDifficultyList=false
ShowCourseContentsList=true
CourseContentsListOnCommand=zoom,0.8
CourseContentsListX=SCREEN_CENTER_X-310
CourseContentsListY=SCREEN_CENTER_Y+36

ShowNumCourseSongs=true
NumCourseSongsX=SCREEN_CENTER_X-25
NumCourseSongsY=SCREEN_CENTER_Y+5
#
UsePlayerSelectMenu=false
SelectMenuAvailable=false
#
ShowPaneDisplayFrameP1=false
ShowPaneDisplayTextP1=false
ShowPaneDisplayFrameP2=false
ShowPaneDisplayTextP2=false

ShowPercentScoreP1=true
PercentScoreP1X=SCREEN_CENTER_X-388
PercentScoreP1Y=SCREEN_BOTTOM-89.2
PercentScoreP1OnCommand=draworder,300;horizalign,left;player,PLAYER_1;addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y;zoom,1
PercentScoreP1OffCommand=bouncebegin,0.15;zoomx,0;
#
ShowPercentScoreP2=true
PercentScoreP2X=SCREEN_CENTER_X-12
PercentScoreP2Y=SCREEN_BOTTOM-89.2
PercentScoreP2OnCommand=draworder,300;horizalign,right;player,PLAYER_2;addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y;zoom,1
PercentScoreP2OffCommand=bouncebegin,0.15;zoomx,0;

StepsDisplayP1X=SCREEN_CENTER_X-408
StepsDisplayP1Y=SCREEN_BOTTOM-89.2
StepsDisplayP1OnCommand=draworder,101;shadowlength,0;zoom,0;sleep,0.55;bounceend,0.3;zoom,1.063
StepsDisplayP1OffCommand=

StepsDisplayP2X=SCREEN_CENTER_X+9
StepsDisplayP2Y=SCREEN_BOTTOM-89.2
StepsDisplayP2OnCommand=draworder,101;shadowlength,0;zoom,0;sleep,0.55;bounceend,0.3;zoom,1.063
StepsDisplayP2OffCommand=


[CourseCodeDetector]
NextSort1=""
NextSort2=""
NextSort3=""
NextSort4=""
ModeMenu1=""
ModeMenu2=""

[OniCodeDetector]
Fallback="CodeDetector"

[StepsDisplay]
ShowMeter=true
MeterX=+0.5
MeterY=-1
MeterOnCommand=zoomx,0.5;zoomy,0.7
MeterSetCommand=%function(self,param) \
	if param.CustomDifficulty then \
		self:diffuse(Color("Black")) \
		self:diffusetopedge(ContrastingDifficultyColor(param.CustomDifficulty)) \
	end \
end

AutogenX=0
AutogenY=+5
AutogenOnCommand=zoom,0.5
AutogenSetCommand=

ShowTicks=false
ShowDescription=false

[StepsDisplayGameplay]
Fallback="StepsDisplay"

#
ShowMeter=true
ZeroMeterString="?"
MeterX=+0.5
MeterY=-1
MeterOnCommand=shadowlength,0;zoomx,0.7;zoomy,1;diffuse,Color("Black")
MeterSetCommand=%function(self,param) \
	if param.CustomDifficulty then \
		self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)); \
		self:shadowcolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); \
	end; \
	if param.Meter then \
		if param.Meter >= 100 then \
			self:zoom(0.8); \
		else \
			self:zoom(1); \
		end; \
	end; \
end;
#
ShowDescription=false
DescriptionX=-20
DescriptionY=ThemePrefs.Get("AutoSetStyle") and -5 or 0
DescriptionOnCommand=shadowlength,1;uppercase,true;zoom,0.75;maxwidth,128+8
DescriptionSetCommand=%function(self,param) \
	if self:GetText() == "" then \
		self:settext("Edit"); \
	end; \
	if param.CustomDifficulty then \
		self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)); \
		self:shadowcolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); \
	end; \
	(cmd(finishtweening;diffusealpha,0;addx,-4;smooth,0.125;addx,4;diffusealpha,1))(self); \
end;
#
ShowAutogen=false										
AutogenX=40
AutogenY=0
AutogenOnCommand=
AutogenSetCommand=%function(self,param) if param.Difficulty then self:diffuse(CustomDifficultyToLightColor(param.Difficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.Difficulty)); end end
#
ShowStepsType=ThemePrefs.Get("AutoSetStyle")
StepsTypeX=-20
StepsTypeY=7
StepsTypeOnCommand=zoom,0.45

[ScreenOptions]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

ShowExitRow=true
SeparateExitRow=true
SeparateExitRowY=SCREEN_CENTER_Y+172

CursorTweenSeconds=0.1
#
DisqualifyP1X=SCREEN_CENTER_X-176
DisqualifyP1Y=SCREEN_BOTTOM-98
DisqualifyP1OnCommand=draworder,100;zoom,0.5;shadowlength,1;player,PLAYER_1
DisqualifyP2X=SCREEN_CENTER_X+176
DisqualifyP2Y=SCREEN_BOTTOM-98
DisqualifyP2OnCommand=draworder,100;zoom,0.5;shadowlength,1;player,PLAYER_2
#
ContainerOnCommand=x,-SCREEN_WIDTH;decelerate,0.01;x,SCREEN_LEFT;draworder,-55

CursorOnCommand=
#
NumRowsShown=10
RowInitCommand=
RowOnCommand=
RowOffCommand=
RowPositionTransformFunction=function(self,positionIndex,itemIndex,numItems) self:y( (SCREEN_CENTER_Y-160) + (32*positionIndex) ); end

#
LineHighlightOnCommand=cropleft,0.1;cropright,0.1;zoomx,1.25;fadeleft,0.05;faderight,0.05;diffuseshift;effectcolor2,color("1,1,1,0.5");effectcolor1,color("1,1,1,0.25");effectclock,'beat'
LineHighlightChangeCommand=linear,0.1;diffuse,Color("White");diffuseshift;effectcolor2,color("1,1,1,0.5");effectcolor1,color("1,1,1,0.25")
LineHighlightChangeToExitCommand=linear,0.1;diffuse,Color("Red");diffuseshift;effectcolor2,color("1,0,0,0.5");effectcolor1,color("1,0,0,0.25")
#
LineHighlightP1OnCommand=diffuse,PlayerColor(PLAYER_1);diffusealpha,0.65;zoomtowidth,500;fadeleft,0.45;faderight,0.45;
LineHighlightP1ChangeCommand=finishtweening;diffusealpha,0.65;
LineHighlightP1ChangeToExitCommand=finishtweening;diffusealpha,0.15;
LineHighlightP2OnCommand=diffuse,PlayerColor(PLAYER_2);diffusealpha,0.65;zoomtowidth,500;fadeleft,0.45;faderight,0.45;
LineHighlightP2ChangeCommand=finishtweening;diffusealpha,0.65;
LineHighlightP2ChangeToExitCommand=finishtweening;diffusealpha,0.15;
#
ShowScrollBar=true
ScrollBarHeight=320
ScrollBarTime=0.1
ScrollBarX=SCREEN_CENTER_X+256+44
ScrollBarY=SCREEN_CENTER_Y-24
#
ShowExplanations=true
ExplanationP1X=SCREEN_CENTER_X-402
ExplanationP1Y=SCREEN_CENTER_Y+172
ExplanationP1OnCommand=diffuse,PlayerColor(PLAYER_1);shadowlength,1;wrapwidthpixels,470/0.5;zoom,0.4;halign,0;cropright,1;linear,0.5;cropright,0
ExplanationP1OffCommand=

ExplanationP2X=SCREEN_CENTER_X+402
ExplanationP2Y=SCREEN_CENTER_Y+172
ExplanationP2OnCommand=diffuse,PlayerColor(PLAYER_2);shadowlength,1;wrapwidthpixels,470/0.5;zoom,0.4;halign,1;cropright,1;linear,0.5;cropright,0
ExplanationP2OffCommand=

ExplanationTogetherX=SCREEN_CENTER_X
ExplanationTogetherY=SCREEN_CENTER_Y+184
ExplanationTogetherOnCommand=shadowlength,0;zoom,0.75;wrapwidthpixels,(SCREEN_WIDTH*0.9375)*1.25;cropright,1;linear,0.5;cropright,0
ExplanationTogetherOffCommand=stoptweening

[ScreenOptionsMaster]
Fallback="ScreenOptions"
Class="ScreenOptionsMaster"

NoteSkinSortOrder=""
StepsUseChartName=false
StepsRowLayoutType="ShowAllInRow"

Separator="1;selectmultiple"
SeparatorDefault=""
Separator,1="name,line"

# ExitItem is an exit row with the "Exit" text as a menu item; ExitTitle
# uses the menu title.
ExitItem="1;together;SelectNone;showoneinrow"
ExitItemDefault=""
ExitItem,1="screen," .. Screen.Metric("NextScreen") .. ";name,ExitItem"
ExitTitle="1;together;SelectNone;showoneinrow"
ExitTitleDefault=""
ExitTitle,1="screen," .. Screen.Metric("NextScreen") .. ";name,ExitTitle"

# Player options
Persp="5"
PerspDefault="mod,overhead"
Persp,1="mod,incoming;name,Incoming"
Persp,2="mod,overhead;name,Overhead"
Persp,3="mod,space;name,Space"
Persp,4="mod,hallway;name,Hallway"
Persp,5="mod,distant;name,Distant"

Zoom="11;selectone"
ZoomDefault="mod,no mini"
Zoom,1="mod,175% mini;name,-175%"
Zoom,2="mod,150% mini;name,-150%"
Zoom,3="mod,125% mini;name,-125%"
Zoom,4="mod,mini;name,-100%"
Zoom,5="mod,75% mini;name,-75%"
Zoom,6="mod,50% mini;name,-50%"
Zoom,7="mod,25% mini;name,-25%"
Zoom,8="name,0%"
Zoom,9="mod,-25% mini;name,+25%"
Zoom,10="mod,-50% mini;name,+50%"
Zoom,11="mod,-75% mini;name,+75%"

#-------------------------------------------------------------------------------------
Accel="5;selectmultiple"
AccelDefault="mod,no boost,no brake,no wave,no expand,no boomerang"
Accel,1="mod,boost;name,Boost"
Accel,2="mod,brake;name,Brake"
Accel,3="mod,wave;name,Wave"
Accel,4="mod,expand;name,Expand"
Accel,5="mod,boomerang;name,Boomerang"

Appearance="4;selectmultiple"
AppearanceDefault="mod,no hidden,no sudden,no stealth,no blink,no randomvanish"
Appearance,1="mod,hidden;name,Hidden"
Appearance,2="mod,sudden;name,Sudden"
Appearance,3="mod,stealth;name,Stealth"
Appearance,4="mod,blink;name,Blink"
#-------------------------------------------------------------------------------------
EffectsReceptor="6;selectmultiple"
EffectsReceptorDefault="mod,no confusion,no xmode"
EffectsReceptor,1="mod,confusion;name,Confusion"
EffectsReceptor,2="mod,300% confusion;name,Spinner"
EffectsReceptor,3="mod,1200% confusion;name,Spiral"
EffectsReceptor,4="mod,45% xmode;name,XMode"
EffectsReceptor,5="mod,90% xmode;name,XMode 2"
EffectsReceptor,6="mod,120% xmode;name,XMode 3"

EffectsArrow="8;selectmultiple"
EffectsArrowDefault="mod,no drunk,no dizzy,no twirl,no roll,no beat,no tipsy,no tornado,no bumpy"
EffectsArrow,1="mod,drunk;name,Drunk"
EffectsArrow,2="mod,dizzy;name,Dizzy"
EffectsArrow,3="mod,twirl;name,Twirl"
EffectsArrow,4="mod,roll;name,Roll"
EffectsArrow,5="mod,beat;name,Beat"
EffectsArrow,6="mod,tipsy;name,Tipsy"
EffectsArrow,7="mod,50% tornado;name,Tornado"
EffectsArrow,8="mod,bumpy;name,Bumpy"
#-------------------------------------------------------------------------------------
Fixers="3;selectone"
FixersDefault="mod, no flip,no invert"
Fixers,1="name,Off"
Fixers,2="mod,-20% flip;name,TFPS"
Fixers,3="mod,-40% flip;name,TFPD"

#-------------------------------------------------------------------------------------
Turn="7;selectmultiple"
TurnDefault="mod,no turn"
Turn,1="mod,mirror;name,Mirror"
Turn,2="mod,backwards;name,Backwards"
Turn,3="mod,left;name,Left"
Turn,4="mod,right;name,Right"
Turn,5="mod,shuffle;name,Shuffle"
Turn,6="mod,supershuffle;name,SuperShuffle"
Turn,7="mod,softshuffle;name,SoftShuffle"

# Turn="6"
# TurnDefault="mod,no turn"
# Turn,1="name,Off"
# Turn,2="mod,mirror;name,Mirror"
# Turn,3="mod,left;name,Left"
# Turn,4="mod,right;name,Right"
# Turn,5="mod,shuffle;name,Shuffle"
# Turn,6="mod,supershuffle;name,SuperShuffle"

Insert="7;selectmultiple"
InsertDefault="mod,no wide,no big,no quick,no skippy,no echo,no stomp,no bmrize"
Insert,1="mod,wide;name,Wide"
Insert,2="mod,big;name,Big"
Insert,3="mod,quick;name,Quick"
Insert,4="mod,bmrize;name,BMRize"
Insert,5="mod,skippy;name,Skippy"
Insert,6="mod,echo;name,Echo"
Insert,7="mod,stomp;name,Stomp"

RemoveCombinations="4;selectmultiple"
RemoveCombinationsDefault="mod,no little,no nojumps,no nohands,no noquads"
RemoveCombinations,1="mod,little;name,Little"
RemoveCombinations,2="mod,nojumps;name,NoJumps"
RemoveCombinations,3="mod,nohands;name,NoHands"
RemoveCombinations,4="mod,noquads;name,NoQuads"

RemoveFeatures="4;selectmultiple"
RemoveFeaturesDefault="mod,no nostretch,no norolls,no nolifts,no nofakes"
RemoveFeatures,1="mod,nostretch;name,NoStretch"
RemoveFeatures,2="mod,norolls;name,NoRolls"
RemoveFeatures,3="mod,nolifts;name,NoLifts"
RemoveFeatures,4="mod,nofakes;name,NoFakes"

# Insert="8"
# InsertDefault="mod,no little,no wide,no big,no quick,no skippy,no echo,no stomp"
# Insert,1="name,Off"
# Insert,2="mod,little;name,Little"
# Insert,3="mod,wide;name,Wide"
# Insert,4="mod,big;name,Big"
# Insert,5="mod,quick;name,Quick"
# Insert,6="mod,skippy;name,Skippy"
# Insert,7="mod,echo;name,Echo"
# Insert,8="mod,stomp;name,Stomp"

Scroll="5;selectmultiple"
ScrollDefault="mod,no reverse,no split,no alternate,no cross,no centered"
Scroll,1="mod,reverse;name,Reverse"
Scroll,2="mod,split;name,Split"
Scroll,3="mod,alternate;name,Alternate"
Scroll,4="mod,cross;name,Cross"
Scroll,5="mod,centered;name,Centered"


# Scroll="5"
# ScrollDefault="mod,no reverse,no split,no alternate,no cross"
# Scroll,1="name,Standard"
# Scroll,2="mod,reverse;name,Reverse"
# Scroll,3="mod,split;name,Split"
# Scroll,4="mod,alternate;name,Alternate"
# Scroll,5="mod,cross;name,Cross"

Holds="5;selectmultiple"
HoldsDefault="mod,no noholds,no planted,no twister,no holdrolls"
Holds,1="mod,noholds;name,NoHolds"
Holds,2="mod,planted;name,Planted"
Holds,3="mod,twister;name,Twister"
Holds,4="mod,holdrolls;name,HoldsToRolls"
Holds,5="mod,25% flip,-25% invert,23% alternate,-23% split,50% reverse,0.04x,-4500% bumpy,50% boost,1000% sudden,-97.75% suddenoffset,noholds,norolls;name,D-Pad"

# Holds="7"
# HoldsDefault="mod,no noholds,no planted,no twister,no nojumps,no nohands, no holdstorolls"
# Holds,1="mod,noholds;name,Off"
# Holds,2="name,On"
# Holds,3="mod,planted;name,Planted"
# Holds,4="mod,twister;name,Twister"
# Holds,5="mod,holdstorolls;name,HoldsToRolls"
# Holds,6="mod,nojumps;name,NoJumps"
# Holds,7="mod,nohands;name,NoHands"

Mines="4"
MinesDefault="mod,no nomines,no mines,no attackmines"
Mines,1="mod,nomines;name,Off"
Mines,2="name,On"
Mines,3="mod,mines;name,Add"
Mines,4="mod,attackmines;name,AttackMines"

Attacks="3"
AttacksDefault="mod,no randomattacks, no noattacks"
Attacks,1="name,On"
Attacks,2="mod,randomattacks;name,RandomAttacks"
Attacks,3="mod,noattacks;name,Off"

PlayerAutoPlay="2"
PlayerAutoPlayDefault="mod,no playerautoplay"
PlayerAutoPlay,1="name,Off"
PlayerAutoPlay,2="mod,playerautoplay;name,On"

Hide="3;selectmultiple"
HideDefault="mod,no dark,no blind,no cover"
Hide,1="mod,dark;name,Dark"
Hide,2="mod,blind;name,Blind"
Hide,3="mod,80% cover;name,Cover"

# Hide="3"
# HideDefault="mod,no dark,no blind"
# Hide,1="name,Off"
# Hide,2="mod,dark;name,Dark"
# Hide,3="mod,blind;name,Blind"



# Song options
# LifeType="3;together"
LifeType=(GAMESTATE:IsCourseMode() and 3 or 2)..";together"
LifeTypeDefault=""
LifeType,1="mod,bar;name,Bar"
LifeType,2="mod,battery;name,Battery"
LifeType,3="mod,lifetime;name,LifeTime"
#
BarDrain="3;together"
BarDrainDefault=""
BarDrain,1="mod,normal-drain;name,Normal"
BarDrain,2="mod,norecover;name,NoRecover"
BarDrain,3="mod,suddendeath;name,SuddenDeath"
#
BatLives="10;together"
BatLivesDefault=""
BatLives,1="mod,1 life;name,1"
BatLives,2="mod,2 lives;name,2"
BatLives,3="mod,3 lives;name,3"
BatLives,4="mod,4 lives;name,4"
BatLives,5="mod,5 lives;name,5"
BatLives,6="mod,6 lives;name,6"
BatLives,7="mod,7 lives;name,7"
BatLives,8="mod,8 lives;name,8"
BatLives,9="mod,9 lives;name,9"
BatLives,10="mod,10 lives;name,10"
#
Fail="4;together"
FailDefault="mod,faildefault"
Fail,1="mod,failimmediate;name,Immediate"
Fail,2="mod,failimmediatecontinue;name,ImmediateContinue"
Fail,3="mod,failatend;name,FailAtEnd"
Fail,4="mod,failoff;name,Off"
#
Assist="4;together"
AssistDefault=""
Assist,1="mod,no clap,no metronome;name,Off"
Assist,2="mod,clap,no metronome;name,Clap"
Assist,3="mod,no clap,metronome;name,Metronome"
Assist,4="mod,clap,metronome;name,Both"
#
Rate="13;together"
RateDefault="mod,1.0xmusic;mod,no haste"
Rate,1="mod,0.85xmusic;name,0.85x"
Rate,2="mod,0.9xmusic;name,0.9x"
Rate,3="mod,1.0xmusic;name,1.0x"
Rate,4="mod,1.1xmusic;name,1.1x"
Rate,5="mod,1.2xmusic;name,1.2x"
Rate,6="mod,1.3xmusic;name,1.3x"
Rate,7="mod,1.4xmusic;name,1.4x"
Rate,8="mod,1.5xmusic;name,1.5x"
Rate,9="mod,1.6xmusic;name,1.6x"
Rate,10="mod,1.7xmusic;name,1.7x"
Rate,11="mod,1.8xmusic;name,1.8x"
Rate,12="mod,1.9xmusic;name,1.9x"
Rate,13="mod,2.0xmusic;name,2.0x"

#
AutoAdjust="4;together"
AutoAdjustDefault=""
AutoAdjust,1="mod,no autosync;name,Off"
AutoAdjust,2="mod,autosyncsong;name,Sync Song"
AutoAdjust,3="mod,autosyncmachine;name,Sync Machine"
AutoAdjust,4="mod,autosynctempo;name,Sync Tempo"
#
SoundEffect="3;together"
SoundEffectDefault=""
SoundEffect,1="mod,no effect;name,Off"
SoundEffect,2="mod,EffectSpeed;name,EffectSpeed"
SoundEffect,3="mod,EffectPitch;name,EffectPitch"
#
Background="3;together"
BackgroundDefault=""
Background,1="mod,no effect;name,Default"
Background,2="mod,staticbg;name,StaticBG"
Background,3="mod,randombg;name,RandomBG"
#
SaveScores="2;together"
SaveScoresDefault=""
SaveScores,1="mod,no savescore;name,Off"
SaveScores,2="mod,savescore;name,On"
#
SaveReplays="2;together"
SaveReplaysDefault=""
SaveReplays,1="mod,no savereplay;name,Off"
SaveReplays,2="mod,savereplay;name,On"

#ScreenJukeboxMenu
RandomModifiers="2;together"
RandomModifiersDefault="mod,clear"
RandomModifiers,1="name,Off"
RandomModifiers,2="mod,random;name,Random"

# ScreenOptionsEditMode
Edit Steps="1;together;SelectNone"
Edit StepsDefault=""
Edit Steps,1="screen,ScreenOptionsManageEditSteps;name,Transfer To USB Drive"
#
Transfer To USB Drive="1;together;SelectNone"
Transfer To USB DriveDefault=""
Transfer To USB Drive,1="screen,ScreenOptionsManageEditSteps;name,Transfer To USB Drive"
#
Transfer From USB Drive="1;together;SelectNone"
Transfer From USB DriveDefault=""
Transfer From USB Drive,1="screen,ScreenOptionsManageEditSteps;name,Transfer From USB Drive"

[ScreenOptionsSimple]
RowPositionTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) self:y(SCREEN_CENTER_Y-172+24*offsetFromCenter) end
StopMusicOnBack=false
SeparateExitRow=false

ExplanationTogetherOnCommand=zoom,0.65;diffuse,color("0,0,0,1");shadowlength,0;NoStroke;wrapwidthpixels,SCREEN_WIDTH*1.75;diffuse,color("#FFFFFF");
#################
OptionRowNormalMetricsGroup="OptionRowSimple"
OptionRowExitMetricsGroup="OptionRowSimpleExit"
CursorOnCommand=visible,false

LineHighlightP1OnCommand=zoomx,SCREEN_WIDTH*0.9;blend,Blend.Add;diffusealpha,0.075;x,SCREEN_WIDTH/2-40
LineHighlightP1OffCommand=linear,0.2;zoomx,0
LineHighlightP1ChangeCommand=stoptweening;linear,0.025;diffuse,color("1,1,1,0.075");
LineHighlightP1ChangeToExitCommand=stoptweening;linear,0.025;diffuse,HSVA(0,0.8,1,0.2);

LineHighlightP2OnCommand=zoomx,SCREEN_WIDTH*0.9;blend,Blend.Add;diffusealpha,0.075;x,SCREEN_WIDTH/2-40
LineHighlightP2OffCommand=linear,0.2;zoomx,0
LineHighlightP2ChangeCommand=stoptweening;linear,0.025;diffuse,color("1,1,1,0.075");
LineHighlightP2ChangeToExitCommand=stoptweening;linear,0.025;diffuse,HSVA(0,0.8,1,0.2);

[OptionRow]
ShowBpmInSpeedTitle=true

TitleX=SCREEN_LEFT+40,SCREEN_LEFT+50
TitleY=
TitleOnCommand=zoom,0.7;halign,0;shadowlength,1;shadowcolor,color("0,0,0,0.8");maxwidth,150;strokecolor,color("0,0,0,0.2")

TitleGainFocusCommand=diffuse,color("1,1,1,1")
TitleLoseFocusCommand=stopeffect
ItemsStartX=WideScale(SCREEN_LEFT+150,SCREEN_LEFT+170)
ItemsEndX=SCREEN_WIDTH-250
ItemsLongRowP1X=WideScale(SCREEN_CENTER_X-100,SCREEN_CENTER_X-130)
ItemsLongRowP2X=WideScale(SCREEN_CENTER_X+100,SCREEN_CENTER_X+100)

ItemOnCommand=zoom,0.6;shadowlength,1;shadowcolor,color("0,0,0,0.8");strokecolor,color("0,0,0,0.2")

[OptionRowSimple]
Fallback="OptionRow"

FrameX=SCREEN_CENTER_X
FrameY=2
FrameGainFocusCommand=glowshift;effectcolor2,color("#fffdd4");
FrameLoseFocusCommand=stopeffect

TitleX=SCREEN_LEFT+30
TitleY=+30
TitleOnCommand=zoom,1;halign,0;shadowlength,1;NoStroke
TitleGainFocusCommand=diffuseshift;effectperiod,1.5;effectcolor1,color("1,1,0.8,1");effectcolor2,color("0.8,0.8,1,1")
TitleLoseFocusCommand=stopeffect

[OptionRowSimpleExit]
Fallback="OptionRowSimple"
ItemOnCommand=visible,false
FrameOnCommand=visible,false





[ScreenOptionsSimpleService]

[ScreenOptionsService]
ShowHeader=true

LineNames="Advanced,Appearance,Arcade,Sync,KeyConfig,GraphicSound,Input,Network,Theme,Profiles,Reload,TestInput,UI,Credits"
LineTheme="gamecommand;screen,ScreenOptionsTheme;name,Theme Options"

# ScreenOptionsSystemDirection"

NumRowsShown=14
RowPositionTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) self:y(SCREEN_CENTER_Y-170+24*offsetFromCenter) end

SeparateExitRow=false
SeparateExitRowY=SCREEN_BOTTOM-40

[ScreenOptionsExtended]
LineNames="2,Sync,3,10,11,4,12,5,Theme"

[ScreenOptionsServiceChild]
ExplanationTogetherX=SCREEN_CENTER_X
ExplanationTogetherY=SCREEN_CENTER_Y+207
ExplanationTogetherOnCommand=zoom,0.55;shadowlength,0;wrapwidthpixels,800/0.5;cropright,1;linear,0.5;cropright,0
ExplanationTogetherOffCommand=stoptweening

[ScreenOptionsServiceExtendedChild]

[ScreenMiniMenu]
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,100;visible,false
LineHighlightOnCommand=cropleft,0.1;cropright,0.1;zoomx,1.3;fadeleft,0.25;faderight,0.25;diffusealpha,0.375
LineHighlightChangeCommand=
LineHighlightChangeToExitCommand=

[OptionRowMiniMenu]
Fallback="OptionRow"
TitleX=SCREEN_CENTER_X-320+48
TitleOnCommand=horizalign,left;shadowlength,0;uppercase,true;zoom,0.6375;strokecolor,Color("Black");
ItemsLongRowP1X=SCREEN_CENTER_X-240
ItemsLongRowP2X=SCREEN_CENTER_X+240
ItemsLongRowSharedX=SCREEN_CENTER_X+200
ItemOnCommand=zoom,0.6375

ColorSelected=color("1,1,1,1")
ColorNotSelected=color("0.5,0.5,0.5,1")

[ScreenMiniMenuContext]
PageOnCommand=visible,false
LineHighlightX=SCREEN_CENTER_X/2

TitleX=SCREEN_CENTER_X
TitleOnCommand=shadowlength,1;
ItemsStartX=SCREEN_CENTER_X
ItemsEndX=SCREEN_CENTER_X
ItemsGapX=14
ItemsLongRowP1X=SCREEN_CENTER_X
ItemsLongRowP2X=SCREEN_CENTER_X
ItemsLongRowSharedX=SCREEN_CENTER_X

[OptionRowMiniMenuContext]

[ScreenMapControllers]

[ScreenTestInput]

[ScreenOptionsSystemDirection]
LineNames="1,2,3,4,5,6,7,8,9,FlashyCombo,RollCombo,10,11,12,13,14,16,LF,17,18,19,20,21,22"
LineLF="lua,ThemePrefRow('LongFail')"
LineRollCombo="lua,ThemePrefRow('ComboOnRolls')"
LineFlashyCombo="lua,ThemePrefRow('FlashyCombo')"

[ScreenOptionsGraphicsSound]

[ScreenOptionsAdvanced]
LineNames="3,4,8,11,13,14,16,28,29,30,RollCombo"
LineRollCombo="lua,ThemePrefRow('ComboOnRolls')"

[ScreenAppearanceOptions]

[ScreenOptionsUI]

[ScreenOptionsInput]

[ScreenOptionsArcade]

[ScreenOptionsTheme]
Fallback="ScreenOptionsServiceChild"
NextScreen="ScreenOptionsService"
PrevScreen="ScreenOptionsService"
LineNames="gNotePos,gAuto,gScore,gSDisp,TimingDisplay,gOpts,gLongFail,gComboUnderField,FlashyCombo,GameplayFooter,FancyUIBG"
LinegNotePos="lua,ThemePrefRow('NotePosition')"
LinegScore="lua,ThemePrefRow('GameplayShowScore')"
LinegSDisp="lua,ThemePrefRow('GameplayShowStepsDisplay')"
LineTimingDisplay="lua,ThemePrefRow('TimingDisplay')"
LinegOpts="lua,ThemePrefRow('ShowLotsaOptions')"
LinegAuto="lua,ThemePrefRow('AutoSetStyle')"
LinegLongFail="lua,ThemePrefRow('LongFail')"
LinegComboUnderField="lua,ThemePrefRow('ComboUnderField')"
LineFlashyCombo="lua,ThemePrefRow('FlashyCombo')"
LineGameplayFooter="lua,ThemePrefRow('GameplayFooter')"
LineFancyUIBG="lua,ThemePrefRow('FancyUIBG')"

[ScreenSelectGame]

[ScreenNetworkOptions]

[ScreenOptionsManageProfiles]

[ScreenOptionsEditProfile]

[ScreenReloadSongs]

[ScreenPlayerOptions]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

LineNames="SpeedType,Speed,SE,8,Judgment,SE,14,4,Zoom,SE,2,3A,3B,SE,R1,R2,SE,5,6,7,9,SE,10,11,13,SE,20,SF,SE,33,SE,16,3C,21"
LineSF="lua,OptionRowScreenFilter()"

#LineJT="lua,UserPrefJudgmentType()"

LineJudgment="lua,PlayerJudgment()"

Line33="conf,Center1Player"
LineSE="list,Separator"

LineSpeed="lua,SpeedModsNew()"
LineSpeedType="lua,SpeedModsType()"

Line17="lua,OptionRowProTiming()"
Line18="list,Characters"
#Line1="lua,SpeedMods()"
#LineC="list,SpeedC"
Line2="list,Accel"
Line3A="list,EffectsReceptor"
Line3B="list,EffectsArrow"
Line3C="list,Fixers"
Line21="list,Background"
Line4="list,Appearance"
Line5="list,Turn"
Line6="list,Insert"
LineR="list,Remove"
LineR1="list,RemoveCombinations"
LineR2="list,RemoveFeatures"
Line7="list,Scroll"
Line8="list,NoteSkins"
Line9="list,Holds"
Line10="list,Mines"
Line11="list,Attacks"
Line12="list,PlayerAutoPlay"
Line13="list,Hide"
Line14="list,Persp"
Line16="list,Steps"
Line20="list,Rate"
Line17="list,Characters"

LineZoom="list,Zoom"
[ScreenPlayerOptionsRestricted]

[ScreenSplash]

[ScreenExit]

[ScreenAttract]
#xxx
PrevScreen="ScreenTitleMenu"
ForceTimer=true
TimerStealth=true
PlayMusic=true

[ScreenRanking]
#

#

#

#

#

# 05 # B

# 05 # C
[ScreenGameplay]

SongMeterDisplayX=SCREEN_CENTER_X+0
SongMeterDisplayY=SCREEN_CENTER_Y-233
SongMeterDisplayOnCommand=draworder,50;zoom,0;y,SCREEN_TOP-24;sleep,1.5;decelerate,0.5;zoom,1;y,SCREEN_TOP+50
SongMeterDisplayOffCommand=
#
ShowSongTitle=true
SongTitleX=SCREEN_CENTER_X-1
SongTitleY=SCREEN_CENTER_Y-220.5
SongTitleOnCommand=draworder,55;strokecolor,Color.Outline;shadowlength,1;basezoom,0.55;zoomy,0;sleep,1;smooth,0.5;zoom,0.6;maxwidth,520
SongTitleOffCommand=
#
SongMeterDisplayP1X=SCREEN_CENTER_X+0
SongMeterDisplayP1Y=SCREEN_TOP+18.9
SongMeterDisplayP1OnCommand=draworder,5;rotationz,Center1Player() and 0 or -0;zoom,0;addx,-24;sleep,1.5;decelerate,0.5;zoom,1;addx,24
SongMeterDisplayP1OffCommand=
#
SongMeterDisplayP2X=SCREEN_CENTER_X+0
SongMeterDisplayP2Y=SCREEN_TOP+18.9
SongMeterDisplayP2OnCommand=draworder,5;rotationz,Center1Player() and 0 or -0;zoom,0;addx,-24;sleep,1.5;decelerate,0.5;zoom,1;addx,24
SongMeterDisplayP2OffCommand=
#
ShowBPMDisplay=true
BPMDisplayX=SCREEN_CENTER_X
BPMDisplayY=SCREEN_CENTER_Y-191
BPMDisplayOnCommand=draworder,100;zoom,2.2
BPMDisplayOffCommand=bounceend,0.25;zoom,0
#
PlayerP1OnePlayerOneSideX=math.floor(scale((0.85/3),0,1,SCREEN_LEFT-150,SCREEN_RIGHT))
PlayerP2OnePlayerOneSideX=math.floor(scale((2.15/3),0,1,SCREEN_LEFT,SCREEN_RIGHT+150))
PlayerP1TwoPlayersTwoSidesX=math.floor(scale((0.85/3),0,1,SCREEN_LEFT-150,SCREEN_RIGHT))
PlayerP2TwoPlayersTwoSidesX=math.floor(scale((2.15/3),0,1,SCREEN_LEFT,SCREEN_RIGHT+150))

PlayerP1OnePlayerTwoSidesX=SCREEN_CENTER_X
PlayerP2OnePlayerTwoSidesX=SCREEN_CENTER_X
PlayerP1TwoPlayersSharedSidesX=SCREEN_CENTER_X
PlayerP2TwoPlayersSharedSidesX=SCREEN_CENTER_X
#
ShowStageDisplay=true
StageDisplayX=SCREEN_CENTER_X
StageDisplayY=SCREEN_CENTER_Y+220
StageDisplayOnCommand=draworder,102;zoom,1.5
StageDisplayOffCommand=bounceend,0.25;zoom,0
StageDisplayUseShortString=true
#
ShowScoreFrame=ThemePrefs.Get("GameplayFooter");
ScoreFrameX=SCREEN_CENTER_X
ScoreFrameY=SCREEN_BOTTOM+4
ScoreFrameOnCommand=draworder,4;vertalign,bottom;zoomtowidth,SCREEN_WIDTH+4;diffuse,color("#ffd400");addy,80;sleep,2;decelerate,0.5;addy,-80;
ScoreFrameOffCommand=
#
LifeP1X=SCREEN_TOP+135
LifeP1Y=SCREEN_TOP+18.9
LifeP1OnCommand=draworder,5;finishtweening;addy,-48;sleep,1.25;bounceend,0.35;addy,48;
LifeP1OffCommand=

LifeP2X=SCREEN_TOP+717
LifeP2Y=SCREEN_TOP+18.9
LifeP2OnCommand=draworder,5;finishtweening;zoomx,-1;addy,-48;sleep,1.25;bounceend,0.35;addy,48;
LifeP2OffCommand=

CombinedLifeX=SCREEN_CENTER_X
CombinedLifeY=SCREEN_TOP+20
CombinedLifeOnCommand=finishtweening;diffuseleftedge,PlayerColor(PLAYER_1);diffuserightedge,PlayerColor(PLAYER_2);addy,-48;sleep,1.25;bounceend,0.35;addy,48;
CombinedLifeOffCommand=
#
ToastyDisplayP1X=Center1Player() and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX")
# ToastyDisplayP1X=(GAMESTATE:GetCurrentStyle():GetStyleType() == 'StyleType_OnePlayerTwoSides' or (PREFSMAN:GetPreference("Center1Player") and GAMESTATE:GetNumPlayersEnabled() == 1)) and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX")
ToastyDisplayP1Y=SCREEN_CENTER_Y
ToastyDisplayP1OnCommand=visible,false
ToastyDisplayP1OffCommand=
#
ToastyDisplayP2X=Center1Player() and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP2OnePlayerOneSideX")
# ToastyDisplayP2X=(GAMESTATE:GetCurrentStyle():GetStyleType() == 'StyleType_OnePlayerTwoSides' or (PREFSMAN:GetPreference("Center1Player") and GAMESTATE:GetNumPlayersEnabled() == 1)) and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP2OnePlayerOneSideX")
ToastyDisplayP2Y=SCREEN_CENTER_Y
ToastyDisplayP2OnCommand=visible,false
ToastyDisplayP2OffCommand=
#
SongNumberP1X=SCREEN_CENTER_X-150
SongNumberP1Y=SCREEN_CENTER_Y-192
SongNumberP1OnCommand=zoom,0.75;diffuse,Color("#FFFFFF")
SongNumberP1OffCommand=

SongNumberP2X=SCREEN_CENTER_X+150
SongNumberP2Y=SCREEN_CENTER_Y-192
SongNumberP2OnCommand=zoom,0.75;diffuse,Color("#FFFFFF")
SongNumberP2OffCommand=
#
RemainingTimeP1X=THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX") + 32
RemainingTimeP1Y=THEME:GetMetric(Var "LoadingScreen","ScoreP1Y") - 20
RemainingTimeP1OnCommand=zoomy,3;shadowlength,1;diffuse,PlayerColor(PLAYER_1);diffusebottomedge,ColorMidTone(PlayerColor(PLAYER_1));
RemainingTimeP1OffCommand=

RemainingTimeP2X=THEME:GetMetric(Var "LoadingScreen","PlayerP2OnePlayerOneSideX") + 32
RemainingTimeP2Y=THEME:GetMetric(Var "LoadingScreen","ScoreP2Y") - 20
RemainingTimeP2OnCommand=shadowlength,1;diffuse,PlayerColor(PLAYER_1);diffusebottomedge,ColorMidTone(PlayerColor(PLAYER_2));
RemainingTimeP2OffCommand=
#
DeltaSecondsP1X=THEME:GetMetric(Var "LoadingScreen","RemainingTimeP1X") - 80
DeltaSecondsP1Y=THEME:GetMetric(Var "LoadingScreen","RemainingTimeP1Y")
DeltaSecondsP1OnCommand=shadowlength,1;skewx,-0.125
DeltaSecondsP1GainSecondsCommand=finishtweening;diffusealpha,1;zoom,1;decelerate,0.3;zoom,0.75;sleep,0.5;linear,0.2;diffusealpha,0;zoom,0
DeltaSecondsP1OffCommand=

DeltaSecondsP2X=THEME:GetMetric(Var "LoadingScreen","RemainingTimeP2X") - 80
DeltaSecondsP2Y=THEME:GetMetric(Var "LoadingScreen","RemainingTimeP2Y")
DeltaSecondsP2OnCommand=shadowlength,1;skewx,-0.125
DeltaSecondsP2GainSecondsCommand=finishtweening;diffusealpha,1;zoom,1;decelerate,0.3;zoom,0.75;sleep,0.5;linear,0.2;diffusealpha,0;zoom,0
DeltaSecondsP2OffCommand=
#
ScoreP1X=(GAMESTATE:IsCourseMode() and SCREEN_CENTER_X-278 or SCREEN_CENTER_X-278)
ScoreP1Y=SCREEN_CENTER_Y-194.5
ScoreP1OnCommand=draworder,101;zoom,1
ScoreP1OffCommand=

ScoreP2X=SCREEN_CENTER_X+307
ScoreP2Y=SCREEN_CENTER_Y-194.5
ScoreP2OnCommand=draworder,101;zoom,1
ScoreP2OffCommand=
#
StepsDescriptionP1X=Center1Player() and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX")
# StepsDescriptionP1X=(PREFSMAN:GetPreference("Center1Player") and GAMESTATE:GetNumPlayersEnabled() == 1) and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX")
StepsDescriptionP1Y=SCREEN_CENTER_Y+34
StepsDescriptionP1OnCommand=draworder,101;zoom,0.5;diffusealpha,0;addy,-10;smooth,0.3;diffusealpha,1;addy,10;sleep,3;smooth,0.5;addy,-10;diffusealpha,0
StepsDescriptionP1OffCommand=
StepsDescriptionP2X=Center1Player() and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP2OnePlayerOneSideX")
# StepsDescriptionP2X=(PREFSMAN:GetPreference("Center1Player") and GAMESTATE:GetNumPlayersEnabled() == 1) and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP2OnePlayerOneSideX")
StepsDescriptionP2Y=SCREEN_CENTER_Y+34
StepsDescriptionP2OnCommand=draworder,101;zoom,0.5;diffusealpha,0;addy,-10;smooth,0.3;diffusealpha,1;addy,10;sleep,3;smooth,0.5;addy,-10;diffusealpha,0
StepsDescriptionP2OffCommand=
#
PlayerOptionsP1X=Center1Player() and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX")
# PlayerOptionsP1X=(PREFSMAN:GetPreference("Center1Player") and GAMESTATE:GetNumPlayersEnabled() == 1) and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX")
PlayerOptionsP1Y=SCREEN_CENTER_Y+82
PlayerOptionsP1OnCommand=draworder,101;shadowlength,1;vertalign,top;wrapwidthpixels,256*2;zoom,0.5;diffusealpha,0;addy,10;smooth,0.3;diffusealpha,1;addy,-10;sleep,3;smooth,0.5;addy,10;diffusealpha,0
PlayerOptionsP1OffCommand=
PlayerOptionsP2X=Center1Player() and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP2OnePlayerOneSideX")
# PlayerOptionsP2X=(PREFSMAN:GetPreference("Center1Player") and GAMESTATE:GetNumPlayersEnabled() == 1) and SCREEN_CENTER_X or THEME:GetMetric(Var "LoadingScreen","PlayerP2OnePlayerOneSideX")
PlayerOptionsP2Y=SCREEN_CENTER_Y+82
PlayerOptionsP2OnCommand=draworder,101;shadowlength,1;vertalign,top;wrapwidthpixels,256*2;zoom,0.5;diffusealpha,0;addy,10;smooth,0.3;diffusealpha,1;addy,-10;sleep,3;smooth,0.5;addy,10;diffusealpha,0
PlayerOptionsP2OffCommand=
#
StepsDisplayP1X=SCREEN_CENTER_X-407.2
StepsDisplayP1Y=SCREEN_CENTER_Y-192
StepsDisplayP1OnCommand=draworder,101;zoom,0.8;sleep,3;queuecommand,( ThemePrefs.Get("GameplayShowStepsDisplay") == true and "Show" or "Hide" );
StepsDisplayP1ShowCommand=smooth,0.5;
StepsDisplayP1HideCommand=linear,0.5;zoomy,0
StepsDisplayP1OffCommand=

StepsDisplayP2X=SCREEN_CENTER_X+405.2
StepsDisplayP2Y=SCREEN_CENTER_Y-192
StepsDisplayP2OnCommand=draworder,101;zoom,0.8;sleep,3;queuecommand,( ThemePrefs.Get("GameplayShowStepsDisplay") == true and "Show" or "Hide" );
StepsDisplayP2ShowCommand=smooth,0.5;y,SCREEN_BOTTOM-432;
StepsDisplayP2HideCommand=linear,0.5;zoomy,0
StepsDisplayP2OffCommand=
#
SongOptionsX=Center1Player() and (GAMESTATE:GetMasterPlayerNumber() == PLAYER_1 and THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX") or THEME:GetMetric(Var "LoadingScreen","PlayerP2OnePlayerOneSideX")) or SCREEN_CENTER_X
SongOptionsY=SCREEN_CENTER_Y-135
SongOptionsOnCommand=draworder,101;visible,false
SongOptionsOffCommand=
#
LyricDisplaySetNoReverseCommand=x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+160
LyricDisplaySetReverseCommand=x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-140
# This is used if one player is in reverse and the other isn't.
LyricDisplaySetOneReverseCommand=x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-160;
LyricDisplayDefaultColor=Color("White")
#
OniGameOverP1X=
OniGameOverP1Y=
OniGameOverP1OnCommand=
OniGameOverP1OffCommand=
#
OniGameOverP2X=
OniGameOverP2Y=
OniGameOverP2OnCommand=
OniGameOverP2OffCommand=
#
SurviveTimeX=SCREEN_CENTER_X
SurviveTimeY=SCREEN_CENTER_Y
SurviveTimeOnCommand=shadowlength,1;zoomx,0;bounceend,1;zoomx,1
SurviveTimeOffCommand=shadowlength,1;linear,1;zoom,0.75;diffusealpha,0
#
ActiveAttackListP1X=THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX")
ActiveAttackListP1Y=
ActiveAttackListP1OnCommand=visible,false
ActiveAttackListP1OffCommand=
ActiveAttackListP2X=THEME:GetMetric(Var "LoadingScreen","PlayerP1OnePlayerOneSideX")
ActiveAttackListP2Y=
ActiveAttackListP2OnCommand=visible,false
ActiveAttackListP2OffCommand=
#

[ScreenGameplayShared]

[ScreenEvaluation]
Class="ScreenEvaluation"
Fallback="ScreenWithMenuElements"
#
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

StageDisplayNumberOffset=0
#
NextScreen=Branches.AfterEvaluation()
PrevScreen=Branches.AfterEvaluation()
#
PlayMusic=false
#
PrepareScreens="ScreenProfileSave,ScreenSelectMusic"
PersistScreens="ScreenEvaluation,ScreenProfileSave,ScreenSelectMusic"
#
ShowJudgmentLineW1=true
ShowJudgmentLineW2=true
ShowJudgmentLineW3=true
ShowJudgmentLineW4=true
ShowJudgmentLineW5=true
ShowJudgmentLineHeld=(GAMESTATE:GetCurrentGame():GetName() ~= "pump")
ShowJudgmentLineMiss=true
ShowJudgmentLineMaxCombo=true
ShowJudgmentLineMine=true
ShowGradeArea=true
ShowScoreArea=false
ShowPointsArea=true
ShowBannerArea=true
ShowSharedJudgmentLineLabels=FALSE
ShowGraphDisplay=true
ShowComboGraph=false
ShowStepsDisplay=true

ShowBPMDisplay=true
BPMDisplayX=SCREEN_CENTER_X+290
BPMDisplayY=SCREEN_CENTER_Y+5
BPMDisplayOnCommand=finishtweening;maxwidth,128;horizalign,left;strokecolor,Color.Outline;addx,320;zoomx,0;decelerate,0.35;addx,-320;zoomx,1
BPMDisplayOffCommand=bouncebegin,0.15;zoomx,0;


ShowFOpen=true
FOpenX=
FOpenY=
FOpenOnCommand=draworder,110
FOpenOffCommand=
#

ShowSongInformation=true
SongInformationX=SCREEN_CENTER_X
SongInformationY=SCREEN_TOP+77
SongInformationOnCommand=playcommand,"Set";draworder,105
SongInformationOffCommand=

#
W1NumberP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+170 or SCREEN_CENTER_X-40)
W1NumberP1Y=SCREEN_CENTER_Y-55
W1NumberP1OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1
W1NumberP1OffCommand=

W1NumberP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-60 or SCREEN_CENTER_X+164)
W1NumberP2Y=SCREEN_CENTER_Y-55
W1NumberP2OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1
W1NumberP2OffCommand=

W1LabelX=SCREEN_CENTER_X
W1LabelY=SCREEN_TOP+165
W1LabelOnCommand=
W1LabelOffCommand=
#
W2NumberP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+170 or SCREEN_CENTER_X-40)
W2NumberP1Y=SCREEN_CENTER_Y-29
W2NumberP1OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1
W2NumberP1OffCommand=

W2NumberP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-60 or SCREEN_CENTER_X+164)
W2NumberP2Y=SCREEN_CENTER_Y-29
W2NumberP2OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1
W2NumberP2OffCommand=

W2LabelX=SCREEN_CENTER_X
W2LabelY=SCREEN_TOP+185
W2LabelOnCommand=
W2LabelOffCommand=
#
W3NumberP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+170 or SCREEN_CENTER_X-40)
W3NumberP1Y=SCREEN_CENTER_Y-3
W3NumberP1OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1
W3NumberP1OffCommand=

W3NumberP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-60 or SCREEN_CENTER_X+164)
W3NumberP2Y=SCREEN_CENTER_Y-3
W3NumberP2OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1
W3NumberP2OffCommand=

W3LabelX=SCREEN_CENTER_X
W3LabelY=SCREEN_TOP+205
W3LabelOnCommand=
W3LabelOffCommand=
#
W4NumberP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+170 or SCREEN_CENTER_X-40)
W4NumberP1Y=SCREEN_CENTER_Y+24
W4NumberP1OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1
W4NumberP1OffCommand=

W4NumberP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-60 or SCREEN_CENTER_X+164)
W4NumberP2Y=SCREEN_CENTER_Y+24
W4NumberP2OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1
W4NumberP2OffCommand=

W4LabelX=SCREEN_CENTER_X
W4LabelY=SCREEN_TOP+225
W4LabelOnCommand=
W4LabelOffCommand=
#
W5NumberP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+170 or SCREEN_CENTER_X-40)
W5NumberP1Y=SCREEN_CENTER_Y+50
W5NumberP1OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1
W5NumberP1OffCommand=

W5NumberP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-60 or SCREEN_CENTER_X+164)
W5NumberP2Y=SCREEN_CENTER_Y+50
W5NumberP2OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1
W5NumberP2OffCommand=

W5LabelX=SCREEN_CENTER_X
W5LabelY=SCREEN_TOP+245
W5LabelOnCommand=
W5LabelOffCommand=
#
MissNumberP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+170 or SCREEN_CENTER_X-40)
MissNumberP1Y=SCREEN_CENTER_Y+76
MissNumberP1OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1
MissNumberP1OffCommand=

MissNumberP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-60 or SCREEN_CENTER_X+164)
MissNumberP2Y=SCREEN_CENTER_Y+76
MissNumberP2OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1
MissNumberP2OffCommand=

MissLabelX=SCREEN_CENTER_X
MissLabelY=SCREEN_TOP+265
MissLabelOnCommand=
MissLabelOffCommand=
#
HeldNumberP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-25 or SCREEN_CENTER_X-240)
HeldNumberP1Y=SCREEN_CENTER_Y+24
HeldNumberP1OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1
HeldNumberP1OffCommand=

HeldNumberP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+164 or SCREEN_CENTER_X+385)
HeldNumberP2Y=SCREEN_CENTER_Y+24
HeldNumberP2OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1
HeldNumberP2OffCommand=

HeldLabelX=SCREEN_CENTER_X
HeldLabelY=SCREEN_TOP+285
HeldLabelOnCommand=
HeldLabelOffCommand=
#
MaxComboNumberP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-25 or SCREEN_CENTER_X-240)
MaxComboNumberP1Y=SCREEN_CENTER_Y+50
MaxComboNumberP1OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1
MaxComboNumberP1OffCommand=

MaxComboNumberP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+164 or SCREEN_CENTER_X+385)
MaxComboNumberP2Y=SCREEN_CENTER_Y+50
MaxComboNumberP2OnCommand=zoom,1.2;diffuse,Color("White");strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1
MaxComboNumberP2OffCommand=

MaxComboLabelX=SCREEN_CENTER_X
MaxComboLabelY=SCREEN_TOP+305
MaxComboLabelOnCommand=
MaxComboLabelOffCommand=
#
ScoreLabelX=SCREEN_CENTER_X
ScoreLabelY=SCREEN_TOP+330
ScoreLabelOnCommand=
ScoreLabelOffCommand=
#
ScoreNumberP1X=SCREEN_CENTER_X-160
ScoreNumberP1Y=SCREEN_TOP+320
ScoreNumberP1OnCommand=diffuse,PlayerColor(PLAYER_1);strokecolor,ColorDarkTone( PlayerColor(PLAYER_1) );shadowlength,1;zoom,0.775
ScoreNumberP1OffCommand=
ScoreNumberP2X=SCREEN_CENTER_X+160
ScoreNumberP2Y=SCREEN_TOP+320
ScoreNumberP2OnCommand=diffuse,PlayerColor(PLAYER_2);strokecolor,ColorDarkTone( PlayerColor(PLAYER_2) );shadowlength,1;zoom,0.775
ScoreNumberP2OffCommand=
#
PercentFrameP1X=SCREEN_CENTER_X-160
PercentFrameP1Y=SCREEN_TOP+320
PercentFrameP1OnCommand=visible,false
PercentFrameP1OffCommand=
#
PercentFrameP2X=SCREEN_CENTER_X+160
PercentFrameP2Y=SCREEN_TOP+320
PercentFrameP2OnCommand=visible,false
PercentFrameP2OffCommand=
#
PercentP1X=SCREEN_CENTER_X-160
PercentP1Y=SCREEN_TOP+320
PercentP1OnCommand=visible,false
PercentP1OffCommand=
#
PercentP2X=SCREEN_CENTER_X+160
PercentP2Y=SCREEN_TOP+320
PercentP2OnCommand=visible,false
PercentP2OffCommand=
#
LargeBannerX=SCREEN_CENTER_X
LargeBannerY=SCREEN_TOP+100
LargeBannerOnCommand=zoomx,1.5;zoomy,1.2
LargeBannerOffCommand=

LargeBannerFrameX=SCREEN_CENTER_X
LargeBannerFrameY=SCREEN_TOP+109
LargeBannerFrameOnCommand=zoomx,0.706;zoomy,0.6
LargeBannerFrameOffCommand=
#
GradeFrameP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+217.95 or SCREEN_CENTER_X+5)
GradeFrameP1Y=SCREEN_TOP+100
GradeFrameP1OnCommand=
GradeFrameP1OffCommand=

GradeFrameP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-217.95 or SCREEN_CENTER_X-5)
GradeFrameP2Y=SCREEN_TOP+100
GradeFrameP2OnCommand=
GradeFrameP2OffCommand=
#
GradeP1X=SCREEN_CENTER_X-320
GradeP1Y=SCREEN_CENTER_Y-142
GradeP1OnCommand=zoom,0.5
GradeP1OffCommand=

GradeP2X=SCREEN_CENTER_X+320
GradeP2Y=SCREEN_CENTER_Y-142
GradeP2OnCommand=zoom,0.5
GradeP2OffCommand=
#
PlayerOptionsP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-195 or SCREEN_LEFT+18)
PlayerOptionsP1Y=SCREEN_TOP+420
PlayerOptionsP1OnCommand=draworder,5;zoom,0.6;shadowlength,1;maxwidth,650;horizalign,left
PlayerOptionsP1OffCommand=
##
PlayerOptionsP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-195 or SCREEN_CENTER_X+13)
PlayerOptionsP2Y=SCREEN_TOP+420
PlayerOptionsP2OnCommand=draworder,5;zoom,0.6;shadowlength,1;maxwidth,650;horizalign,left
PlayerOptionsP2OffCommand=
#
SongOptionsX=SCREEN_CENTER_X
SongOptionsY=SCREEN_CENTER_X-287
SongOptionsOnCommand=draworder,6;zoom,0.6;maxwidth,480
SongOptionsOffCommand=
#
DisqualifiedP1X=SCREEN_CENTER_X-220
DisqualifiedP1Y=SCREEN_TOP+140
DisqualifiedP1OnCommand=
DisqualifiedP1OffCommand=

DisqualifiedP2X=SCREEN_CENTER_X+220
DisqualifiedP2Y=SCREEN_TOP+140
DisqualifiedP2OnCommand=
DisqualifiedP2OffCommand=
#
GraphDisplayP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X or SCREEN_CENTER_X-212.7)
GraphDisplayP1Y=SCREEN_BOTTOM-110
GraphDisplayP1OnCommand=zoomx,0.992
GraphDisplayP1OffCommand=

GraphDisplayP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X or SCREEN_CENTER_X+212.7)
GraphDisplayP2Y=SCREEN_BOTTOM-110
GraphDisplayP2OnCommand=zoomx,0.992
GraphDisplayP2OffCommand=
#
ComboGraphP1X=SCREEN_CENTER_X-160
ComboGraphP1Y=SCREEN_BOTTOM-100+32-7
ComboGraphP1OnCommand=
ComboGraphP1OffCommand=

ComboGraphP2X=SCREEN_CENTER_X+160
ComboGraphP2Y=SCREEN_BOTTOM-100+32-7
ComboGraphP2OnCommand=
ComboGraphP2OffCommand=
#
MachineRecordP1X=SCREEN_CENTER_X-220
MachineRecordP1Y=SCREEN_TOP+146
MachineRecordP1OnCommand=visible,false
MachineRecordP1OffCommand=
#
MachineRecordP2X=SCREEN_CENTER_X+220
MachineRecordP2Y=SCREEN_TOP+146
MachineRecordP2OnCommand=visible,false
MachineRecordP2OffCommand=
#
PersonalRecordP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X or SCREEN_CENTER_X-200)
PersonalRecordP1Y=SCREEN_CENTER_Y-80
PersonalRecordP1OnCommand=
PersonalRecordP1OffCommand=
#
PersonalRecordP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X or SCREEN_CENTER_X+200)
PersonalRecordP2Y=SCREEN_CENTER_Y-80
PersonalRecordP2OnCommand=
PersonalRecordP2OffCommand=
#
StageAwardP1X=SCREEN_CENTER_X-220
StageAwardP1Y=SCREEN_TOP+130
StageAwardP1OnCommand=visible,false
StageAwardP1OffCommand=
#
StageAwardP2X=SCREEN_CENTER_X+220
StageAwardP2Y=SCREEN_TOP+130
StageAwardP2OnCommand=visible,false
StageAwardP2OffCommand=
#
PeakComboAwardP1X=SCREEN_CENTER_X-160
PeakComboAwardP1Y=SCREEN_TOP+300+10
PeakComboAwardP1OnCommand=visible,false
PeakComboAwardP1OffCommand=
#
PeakComboAwardP2X=SCREEN_CENTER_X+160
PeakComboAwardP2Y=SCREEN_TOP+300+10
PeakComboAwardP2OnCommand=visible,false
PeakComboAwardP2OffCommand=
#
ShowStepsDisplayP1=GAMESTATE:IsHumanPlayer(PLAYER_1)
StepsDisplayP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X-230 or SCREEN_CENTER_X-402.5)
StepsDisplayP1Y=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_Y-52.6 or SCREEN_CENTER_Y-93)
StepsDisplayP1OnCommand=visible,THEME:GetMetric(Var "LoadingScreen","ShowStepsDisplayP1");playcommand,"Set"
StepsDisplayP1SetCommand=zoom,1.5
StepsDisplayP1OffCommand=
#
ShowStepsDisplayP2=GAMESTATE:IsHumanPlayer(PLAYER_2)
StepsDisplayP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+230 or SCREEN_CENTER_X+402.5)
StepsDisplayP2Y=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_Y-52.6 or SCREEN_CENTER_Y-93)
StepsDisplayP2OnCommand=visible,THEME:GetMetric(Var "LoadingScreen","ShowStepsDisplayP2");playcommand,"Set"
StepsDisplayP2SetCommand=zoom,1.5
StepsDisplayP2OffCommand=
#
PercentScoreP1X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+40 or SCREEN_CENTER_X-177)
PercentScoreP1Y=SCREEN_CENTER_Y-45
PercentScoreP1OnCommand=diffuse,Color("White");zoom,1;horizalign,right;draworder,100
PercentScoreP1OffCommand=
#
PercentScoreP2X=(GAMESTATE:GetCurrentStyle():GetName() ~= "single" and GAMESTATE:GetCurrentStyle():GetName() ~= "versus" and GAMESTATE:GetCurrentStyle():GetName() ~= "routine" and SCREEN_CENTER_X+231 or SCREEN_CENTER_X+437)
PercentScoreP2Y=SCREEN_CENTER_Y-45
PercentScoreP2OnCommand=diffuse,Color("White");zoom,1;horizalign,right;draworder,100
PercentScoreP2OffCommand=
#
ShowGameType=false
GameTypeX=SCREEN_CENTER_X
GameTypeY=SCREEN_BOTTOM-48
GameTypeOnCommand=addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y;zoom,0.675;shadowlength,1;shadowcolor,color("#22222266")
GameTypeOffCommand=bouncebegin,0.15;addy,SCREEN_CENTER_Y;
#
ShowTimingDifficulty=true
TimingDifficultyX=SCREEN_CENTER_X
TimingDifficultyY=SCREEN_TOP+7
TimingDifficultyOnCommand=zoom,0.6;draworder,105
TimingDifficultyOffCommand=
#
ShowLifeDifficulty=true
LifeDifficultyX=SCREEN_CENTER_X
LifeDifficultyY=SCREEN_TOP+20
LifeDifficultyOnCommand=zoom,0.6;draworder,105
LifeDifficultyOffCommand=
#

ShowWinArea=GAMESTATE:GetPlayMode() == 'PlayMode_Rave'
WinFrameP1X=
WinFrameP1Y=
WinFrameP1OnCommand=
WinFrameP2X=
WinFrameP2Y=
WinFrameP2OnCommand=
#----#
WinP1X=SCREEN_CENTER_X-224
WinP1Y=SCREEN_BOTTOM-224
WinP1OnCommand=draworder,101
WinP2X=SCREEN_CENTER_X+224
WinP2Y=SCREEN_BOTTOM-224
WinP2OnCommand=draworder,101


[ScreenEvaluationNormal]
Fallback="ScreenEvaluation"
#
PlayMusic=false
#
ShowBannerFrame=true
#
ShowStageDisplay=true
StageDisplayX=SCREEN_CENTER_X+160
StageDisplayY=SCREEN_TOP+14
StageDisplayOnCommand=draworder,105;zoom,0.7
StageDisplayOffCommand=

[ScreenEvaluationSummary]
Fallback="ScreenEvaluation"
#
NextScreen=Branch.AfterSummary()
#
PlayMusic=false
#
Summary=true
#
ShowStageDisplay=false
#
SmallBanner1X=SCREEN_CENTER_X-72
SmallBanner1Y=SCREEN_TOP+100-24
SmallBanner1OnCommand=zoom,0.5
SmallBanner1OffCommand=

SmallBanner2X=SCREEN_CENTER_X-48
SmallBanner2Y=SCREEN_TOP+100-16
SmallBanner2OnCommand=zoom,0.5
SmallBanner2OffCommand=

SmallBanner3X=SCREEN_CENTER_X-24
SmallBanner3Y=SCREEN_TOP+100-8
SmallBanner3OnCommand=zoom,0.5
SmallBanner3OffCommand=

SmallBanner4X=SCREEN_CENTER_X+24
SmallBanner4Y=SCREEN_TOP+100+8
SmallBanner4OnCommand=zoom,0.5
SmallBanner4OffCommand=

SmallBanner5X=SCREEN_CENTER_X+48
SmallBanner5Y=SCREEN_TOP+100+16
SmallBanner5OnCommand=zoom,0.5
SmallBanner5OfCommand=

SmallBanner6X=SCREEN_CENTER_X+72
SmallBanner6Y=SCREEN_TOP+100+24
SmallBanner6OnCommand=zoom,0.5
SmallBanner6OffCommand=

[ScreenNameEntry]

[ScreenProfileSave]

[ScreenProfileSaveSummary]

[ScreenGameOver]

[ScreenPrompt]

[ScreenOptionsEdit]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

[EditMenu]

[TextBannerEditMode]

[ScreenEditMenu]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

[ScreenEdit]

[ScreenPracticeMenu]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

[PracticeMenu]

[ScreenPractice]

[ScreenEditOptions]
LineNames="1,2,3,4,5,6,R1,R2,7,8,9,10,Attacks,11,12,13,14,15,16,SF"
Line1="lua,SpeedMods()"
LineSF="lua,OptionRowScreenFilter()"

[StepsDisplayEdit]
Fallback="StepsDisplayGameplay"

ShowMeter=true
ZeroMeterString="?"
MeterX=+0.8
MeterY=-1

MeterOnCommand=shadowlength,0;zoomx,0.7;zoomy,1;diffuse,Color("Black")
MeterSetCommand=%function(self,param) \
	if param.CustomDifficulty then \
		self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)); \
		self:shadowcolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); \
	end; \

end;
#
ShowDescription=false
DescriptionX=-20
DescriptionY=ThemePrefs.Get("AutoSetStyle") and -5 or 0
DescriptionOnCommand=shadowlength,1;uppercase,true;zoom,0.75;maxwidth,128+8
DescriptionSetCommand=%function(self,param) \
	if self:GetText() == "" then \
		self:settext("Edit"); \
	end; \
	if param.CustomDifficulty then \
		self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)); \
		self:shadowcolor(CustomDifficultyToDarkColor(param.CustomDifficulty)); \
	end; \
	(cmd(finishtweening;diffusealpha,0;addx,-4;smooth,0.125;addx,4;diffusealpha,1))(self); \
end;
#
ShowAutogen=false										
AutogenX=40
AutogenY=0
AutogenOnCommand=
AutogenSetCommand=%function(self,param) if param.Difficulty then self:diffuse(CustomDifficultyToLightColor(param.Difficulty)); self:strokecolor(CustomDifficultyToDarkColor(param.Difficulty)); end end
#
ShowStepsType=ThemePrefs.Get("AutoSetStyle")
StepsTypeX=-20
StepsTypeY=7
StepsTypeOnCommand=zoom,0.45

[ScreenMiniMenuEditHelp]

[OptionRowMiniMenuEditHelp]

[ScreenMiniMenuMainMenu]

[ScreenMiniMenuAreaMenu]

[ScreenMiniMenuStepsInformation]

[ScreenMiniMenuSongInformation]

[ScreenMiniMenuTimingDataInformation]

[ScreenMiniMenuBackgroundChange]

[ScreenMiniMenuPreferences]

[ScreenMiniMenuInsertTapAttack]

[ScreenMiniMenuInsertCourseAttack]

[ScreenMiniMenuCourseDisplay]

[ScreenMiniMenuCourseOptions]

[ScreenOptionsExportPackage]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

[ScreenOptionsManage]

[OptionRowManage]

[OptionRowCourseOverview]

[ScreenOptionsManageCourses]

[OptionRowCourse]

[ScreenOptionsEditCourse]

[OptionRowEditCourse]

[ScreenOptionsCourseOverview]

[ScreenGameplaySyncMachine]
SongMeterDisplayP1OnCommand=visible,false
SongMeterDisplayP2OnCommand=visible,false
StepsDescriptionP1OnCommand=visible,false
StepsDescriptionP2OnCommand=visible,false
StepsDisplayP1OnCommand=visible,false
StepsDisplayP2OnCommand=visible,false
PlayerOptionsP1OnCommand=visible,false
PlayerOptionsP2OnCommand=visible,false

[PlayerSyncMachine]

[ScreenHowToInstallSongs]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
ShowHeader=false

ShowScroller=true
PerChoiceScrollElement=false
#
ShowIcon=true
UseIconMetrics=false
PerChoiceIconElement=false
#
ScrollerX=SCREEN_LEFT+32
ScrollerY=SCREEN_CENTER_Y
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(24*(itemIndex-(numItems-1)/2)); end
ScrollerNumItemsToDraw=20
ScrollerOffCommand=bouncebegin,0.25;addx,-SCREEN_CENTER_X

ChoiceNames="WhereToFind,HowToInstall,AdditionalFolders,ReloadSongs,Exit"
ChoiceWhereToFind="urlnoexit,http://code.google.com/p/sm-ssc/wiki/FindingContent;text,"..Screen.String("Finding Songs")
ChoiceHowToInstall="urlnoexit,http://code.google.com/p/sm-ssc/wiki/InstallingContent;text,"..Screen.String("Installing Songs")
ChoiceAdditionalFolders="text,"..Screen.String("Importing Songs")
ChoiceReloadSongs="screen,ScreenReloadSongs;text,"..Screen.String("Reload Songs")
ChoiceExit="screen,"..Branch.TitleMenu()..";text,"..Screen.String("Exit")
DefaultChoice="WhereToFind"

OptionOrderUp="5:4,4:3,3:2,2:1,1:5"
OptionOrderDown="1:2,2:3,3:4,4:5,5:1"

[ScreenSMOnlineLogin]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

[ScreenNetSelectBase]
Class="ScreenNetSelectBase"
Fallback="ScreenWithMenuElements"

ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

# Box Input Chat
ChatInputBoxX=SCREEN_CENTER_X+225
ChatInputBoxY=SCREEN_CENTER_Y+180
ChatInputBoxOnCommand=bounceend,0.5;diffusealpha,1;
ChatInputBoxOffCommand=bouncebegin,0.5;zoomy,0
ChatInputBoxWidth=SCREEN_CENTER_X*0.9
ChatInputBoxHeight=62

# Text Input Chat
ChatInputX=(SCREEN_CENTER_X*0.3)+337
ChatInputY=SCREEN_CENTER_Y+152
ChatTextInputWidth=SCREEN_CENTER_X*1.75
ChatInputOnCommand=halign,0;valign,0;zoom,0.5;diffusealpha,0;linear,0.55;diffusealpha,1
ChatInputOffCommand=diffusealpha,1;linear,0.5;diffusealpha,0

# Box Output Chat
ChatOutputBoxX=SCREEN_CENTER_X+225
ChatOutputBoxY=SCREEN_CENTER_Y+67
ChatOutputBoxOnCommand=bounceend,0.5;diffusealpha,1;draworder,-300
ChatOutputBoxOffCommand=
ChatOutputBoxWidth=SCREEN_CENTER_X*0.9
ChatOutputBoxHeight=150

# Text Output Chat
ChatOutputX=SCREEN_CENTER_X+39
ChatOutputY=SCREEN_CENTER_Y+134
ChatTextOutputWidth=SCREEN_CENTER_X*1.75
ChatOutputLines=12
ChatOutputOnCommand=halign,0;valign,1;zoom,0.5;diffusealpha,0;linear,0.55;diffusealpha,1
ChatOutputOffCommand=diffusealpha,1;linear,0.5;diffusealpha,0

# Users Settings
UsersX=SCREEN_CENTER_X-415
UsersY=SCREEN_CENTER_Y+155

UsersOnCommand=draworder,100;zoom,0.75;shadowlength,1;horizalign,left
UsersOffCommand=linear,0.5;zoom,0

UserSpacingX=64
UserLine2Y=16
UserLine3Y=32

Users0Command=draworder,2;diffuse,color("1.0,0.4,0.4,1.0")
Users1Command=draworder,2;diffuse,color("1.0,1.0,1.0,1.0")
Users2Command=draworder,2;diffuse,color("0.5,0.5,1.0,1.0")
Users3Command=draworder,2;diffuse,color("0.5,1.0,0.5,1.0")
Users4Command=draworder,2;diffuse,color("1.0,0.5,0.5,1.0")

[ScreenNetSelectMusic]
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

ShowPercentScoreP1=true
PercentScoreP1X=SCREEN_CENTER_X-410
PercentScoreP1Y=SCREEN_BOTTOM-106.5
PercentScoreP1OnCommand=draworder,300;horizalign,left;player,PLAYER_1;addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y;zoom,1
PercentScoreP1OffCommand=bouncebegin,0.15;zoomx,0;
#
ShowPercentScoreP2=true
PercentScoreP2X=SCREEN_CENTER_X-410
PercentScoreP2Y=SCREEN_BOTTOM-106.5
PercentScoreP2OnCommand=draworder,300;horizalign,right;player,PLAYER_2;addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y;zoom,1
PercentScoreP2OffCommand=bouncebegin,0.15;zoomx,0;

ShowBPMDisplay=true
BPMDisplayX=SCREEN_CENTER_X-388
BPMDisplayY=SCREEN_CENTER_Y+5
BPMDisplayOnCommand=finishtweening;maxwidth,128;horizalign,left;strokecolor,Color.Outline;addx,320;zoomx,0;decelerate,0.35;addx,-320;zoomx,1
BPMDisplayOffCommand=bouncebegin,0.15;zoomx,0;

StepsDisplayP1X=SCREEN_CENTER_X+9999
StepsDisplayP1Y=SCREEN_CENTER_Y+130
StepsDisplayP1OnCommand=visible,false
StepsDisplayP1OffCommand=linear,0.5;zoomx,0.0;zoomy,0.0
#--#
StepsDisplayP2X=SCREEN_CENTER_X+9999
StepsDisplayP2Y=SCREEN_CENTER_Y+130
StepsDisplayP2OnCommand=visible,false
StepsDisplayP2OffCommand=linear,0.5;zoomx,0.0;zoomy,0.0
#====#
ShowBannerFrame=true
BannerFrameX=SCREEN_CENTER_X-200
BannerFrameY=SCREEN_TOP+160-36+4
BannerFrameOnCommand=draworder,-5;addy,-SCREEN_CENTER_Y;decelerate,0.35;addy,SCREEN_CENTER_Y
BannerFrameOffCommand=bouncebegin,0.15;zoomx,0;

ModIconsP1X=SCREEN_CENTER_X-180
ModIconsP1Y=SCREEN_BOTTOM-105
ModIconsP1OnCommand=zoomy,0.9
ModIconsP1OffCommand=linear,0.5;zoomy,0

ModIconsP2X=SCREEN_CENTER_X-180
ModIconsP2Y=SCREEN_BOTTOM-105
ModIconsP2OnCommand=zoomy,0.9
ModIconsP2OffCommand=linear,0.5;zoomy,0

ShowSongTime=true
SongTimeX=SCREEN_CENTER_X-210
SongTimeY=SCREEN_CENTER_Y+5
SongTimeOnCommand=horizalign,left;zoom,1;strokecolor,Color("Outline");shadowlength,1
SongTimeOffCommand=
SongTimeResetCommand=diffuse,Color("White");
SongTimeAutogenCommand=diffuse,Color("Green");
SongTimeLongCommand=diffuse,Color("Yellow");diffusebottomedge,Color("Orange");
SongTimeMarathonCommand=diffuse,Color("Orange");diffusebottomedge,Color("Red");

MusicWheelType="OnlineMusicWheel"
MusicWheelX=SCREEN_CENTER_X
MusicWheelY=SCREEN_CENTER_Y-115
MusicWheelOnCommand=draworder,-50;zoomy,0;smooth,0.4;zoomy,1.0
MusicWheelOffCommand=smooth,0.4;zoomy,0;

#--#
ShowBPMLabel=false
BPMLabelX=SCREEN_CENTER_X-180
BPMLabelY=SCREEN_CENTER_Y+190
BPMLabelOnCommand=addx,-SCREEN_CENTER_X;decelerate,0.35;addx,SCREEN_CENTER_X
BPMLabelOffCommand=bouncebegin,0.15;zoomx,0;


UsersDX=40
UsersAY=16

UsersX=SCREEN_CENTER_X-415
UsersY=SCREEN_CENTER_Y+155

UsersOnCommand=draworder,100;zoom,0.75;shadowlength,1;horizalign,left
UsersOffCommand=linear,0.5;zoom,0
#
ShowDifficultyList=true
DifficultyListX=SCREEN_CENTER_X-230
DifficultyListY=SCREEN_CENTER_Y+28
DifficultyListOnCommand=addx,-SCREEN_CENTER_X;decelerate,0.35;addx,SCREEN_CENTER_X;zoomx,1.8;zoomy,1.04
DifficultyListOffCommand=diffusealpha,0.5
#
DifficultyListTweenOnCommand=stoptweening;bounceend,0.135;zoomx,1.8
DifficultyListTweenOffCommand=diffusealpha,0.5

[StepsDisplayNet]

[ScreenNetRoom]
Class="ScreenNetRoom"
Fallback="ScreenNetSelectBase"
PrevScreen=Branch.TitleMenu()
# XXX
NextScreen="ScreenGameplayBranch"
MusicSelectScreen="ScreenNetSelectMusic"

ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,-1;zoomy,0.6;diffuse,color("#808080");maxwidth,300
HeaderOffCommand=

ShowBannerFrame=true
BannerFrameX=SCREEN_CENTER_X-200
BannerFrameY=SCREEN_TOP+160-36+4
BannerFrameOnCommand=draworder,-5;addy,-SCREEN_CENTER_Y;decelerate,0.35;addy,SCREEN_CENTER_Y
BannerFrameOffCommand=bouncebegin,0.15;zoomx,0;

RoomWheelX=SCREEN_CENTER_X
RoomWheelY=SCREEN_CENTER_Y-115
RoomWheelOnCommand=draworder,-50;zoomy,0;smooth,0.4;zoomy,1.0
RoomWheelOffCommand=smooth,0.4;zoomy,0;

OpenRoomColor=color("1.0,1.0,1.0,1.0")
PasswdRoomColor=color("1.0,0.5,0.5,1.0")
InGameRoomColor=color("1.0,0.1,0.1,1.0")

[RoomWheel]


[RoomWheelItem]
TextX=
TextY=-111
TextOnCommand=horizalign,center;maxwidth,180;shadowlength,1;shadowcolor,color("#000000FF");zoomy,0.6

DescriptionX=
DescriptionY=-82.5
DescriptionOnCommand=horizalign,center;maxwidth,360;shadowlength,1;shadowcolor,color("#000000FF");zoomy,0.5;zoomx,0.45

[RoomInfoDisplay]
RoomInfoDisplayOnCommand=x,SCREEN_CENTER_X-330;y,SCREEN_CENTER_Y+105;zoom,0.7
RoomInfoDisplayOffCommand=x,SCREEN_CENTER_X-330;y,SCREEN_CENTER_Y+105;zoom,0.7

DeployDelay=0.1
RetractDelay=0.1

RoomTitleOnCommand=x,-120;y,-140;zoom,0.75
RoomDescOnCommand=x,-120;y,-129;zoom,0.75

LastRoundOnCommand=x,-120;y,-107;zoom,0.75
SongTitleOnCommand=x,-110;y,-96;zoom,0.75
SongSubTitleOnCommand=x,-110;y,-85;zoom,0.75
SongArtistOnCommand=x,-110;y,-74;zoom,0.75

PlayersOnCommand=x,-120;y,-52;zoom,0.75

PlayerListElementX=-110
PlayerListElementY=-41
PlayerListElementOffsetX=0
PlayerListElementOffsetY=11
PlayerListElementOnCommand=zoom,0.75

[ScreenSMOnlineSelectMusic]

[ModIcon]

[ModIconRow]

[ModIconRowSelectMusic]

[GraphDisplay]
BodyWidth=421
BodyHeight=64

[ComboGraph]

[ScreenNetEvaluation]
UserTier02OrBetterCommand=diffuseshift;effectperiod,0.75;effectcolor1,color("1,0.95,0.8,1");effectcolor2,color("0.8,0.95,1,1")

# Arcade

[ScreenLogo]
TimerSeconds=60
ShowLogo=true
LogoX=SCREEN_CENTER_X
LogoY=SCREEN_CENTER_Y-80
LogoOnCommand=zoom,0.5
LogoOffCommand=stopeffect;bouncebegin,0.35;zoom,0

ArcadeOverlay.TextY=SCREEN_BOTTOM-60
#

[ScreenHowToPlay]

[ScreenIntro]
Class="ScreenAttract"
Fallback="ScreenAttract"
NextScreen="ScreenLogo"
TimerSeconds=1

[ScreenCompany]
Class="ScreenAttract"
Fallback="ScreenAttract"
NextScreen="ScreenIntro"
TimerSeconds=18

[ScreenNoise]
Fallback="ScreenAttract"
Class="ScreenAttract"
NextScreen="ScreenCompany
TimerSeconds=3000
MemoryCardIcons=0
MemoryCardDisplayP1OnCommand=Hidden,1
MemoryCardDisplayP2OnCommand=Hidden,1

[ScreenTitleJoin]
ShowHelp=false
HelpText=Screen.String("HelpTextTitleJoin")
HelpY=SCREEN_CENTER_Y+100
HelpOnCommand=visible,false;zoom,1;strokecolor,color("0.125,0.125,0.125,0.5");queuecommand,"Refresh"
HelpCoinIsertedMessageCommand=playcommand,"Refresh"
HelpCoinModeChangedMessageCommand=playcommand,"Refresh"
HelpRefreshCommand=%function(self) \
	local bCanPlay = GAMESTATE:EnoughCreditsToJoin(); \
	local bReady = GAMESTATE:GetNumSidesJoined() > 0; \
	if bCanPlay or bReady then \
		self:SetTipsColonSeperated(THEME:GetString( Var "LoadingScreen","HelpTextPlay")); \
	else \
		self:SetTipsColonSeperated(THEME:GetString( Var "LoadingScreen","HelpTextWait")); \
	end \
end;
#
LogoX=SCREEN_CENTER_X
LogoY=SCREEN_CENTER_Y-28
LogoOnCommand=bob;effectperiod,4;effectmagnitude,0,5.25,0;zoom,0;bounceend,0.35;zoom,0.75
LogoOffCommand=stopeffect;bouncebegin,0.35;rotationz,360;zoom,0

VersionInfoX=SCREEN_CENTER_X+114
VersionInfoY=SCREEN_CENTER_Y+44
VersionInfoOnCommand=horizalign,right;vertalign,bottom;bob;effectperiod,4;effectmagnitude,0,5.25,0;zoom,0;bounceend,0.35;zoom,0.65;shadowlength,1;shadowcolor,color("0.2,0.2,0.2,0.925");
ScrollerOnCommand=visible,false;
ArcadeOverlay.TextY=SCREEN_BOTTOM-128

[ScreenDemonstration]
SongMeterDisplayOnCommand=visible,false
SongMeterDisplayP1OnCommand=visible,false
SongMeterDisplayP2OnCommand=visible,false
LifeP1OnCommand=visible,false
LifeP2OnCommand=visible,false
ScoreP1OnCommand=visible,false
ScoreP2OnCommand=visible,false
StepsDisplayP1OnCommand=zoomy,0;linear,0.3;zoomy,1;sleep,3;smooth,0.5;y,SCREEN_BOTTOM-20;zoomy,0
StepsDisplayP2OnCommand=zoomy,0;linear,0.3;zoomy,1;sleep,3;smooth,0.5;y,SCREEN_BOTTOM-20;zoomy,0
ShowBPMDisplay=false

[ScreenJukeboxMenu]

[ScreenJukebox]

[ScreenCredits]
